A man travels the first one-third of a certain distance with a speed of 10 km/hr, the next one-third distance with a speed of 20km/hr, and the last one-third distance with a speed of 60 km/hr. The average speed of the man for the whole journey is?
A18 km/hr
B24 km/hr
C27 km/hr
D15 km/hr