George rode his bike every day at the beach. The first day he rode , the second day , the third day , the fourth day he rested, the fifth day he rode more than the first day, and the sixth day half as much as the third day. Determine the median number of the distance cycled.