John travelled from town A to town B, a distance of 30 km. He cycled for 1 1/2hours at a speed of 16 km/h and then walked the remaining distance at a speed of 3 km/h. Find his average speed for the journey.