John has quite a curious clock at home. Every hour it rings a bell as many times as the number of hours (At 2 o´clock it rings twice, at 3 o´clock thrice and so on), and it rings only once at a quarter past, half past and quarter to whichever hour corresponds (For example, one ring at quarter past three, one at half past three, one at quarter to 4, and 4 rings at 4 o´clock).
One day he came back home, and as soon as he entered the house he heard one ring. After a while, he heard another one, and after a while another one, and so on until he heard one ring 8 times total. What time was it when he arrived home?