A car moves from A to B with a speed of 30 kmph and from B to A with a speed of 20 kmph. What is the average speed of the car ?