A monkey climbs a greased pole 36 metres high. He climbs 3 metres in first minute and descends 1 metre in next minute. He again climbs 3 metres in third minute and slips down by 1 metre in the fourth minute. Like this, he continues till he reaches the top of the pole. How much time does he take in total to reach the top of the pole?