A car driver travels from the plains to the hill station, which are 200 km apart, at an average speed of 40 km/h. In the return trip, he covers the same distance at an average speed of 20 km/h. The average speed of the car over the entire distance of 400 km is