A monkey, at the bottom of a well, begins climbing the wall. It climbs for one hour and rests the next hour. In one hour it climbs 4 meters. In the one hour it rests, it slips back 2 meters. If the height of the wall is 20 meters, then the time taken by the monkey to climb out of the well(in hours) is?