A car is moving along an open road. Suddenly, a sheep walks into the road. The braking distance for the car is 35m. If the stopping distance is 50m, how far did the car travel before the driver put their foot on the brakes?