One third part of a certain journey is covered at the speed of 18 km/hr, one fourth part at the speed of 27 km/hr and the rest part at the speed of 45 km/hr. What will be the average speed for the whole journey?
A35 km/hr
B27 km/hr
C24 km/hr
D22 km/hr