beecrowd | 2686

The Change Continues!!

By Samuel Lucas Santos Gomes, IFSULDEMINAS BR Brazil

Timelimit: 1

Again Julius asks for your help, he has forgotten a small detail. As his previous program only reported a greeting, he asked him to turn the Sun / Moon degree into HH: MM: SS. Then if you accept: given a degree relative to the position of the Sun / Moon, redo the system only now that beyond the salutation of each period of the day, accurately report the hours, minutes and seconds.

Input

The input contains a floating point M (0 ≥ M <360) representing the position, in degrees, of the Sun/Moon relative to the ground. As they walk in constant motion their program will receive several cases every second(EOF).

Output

Print out what time of day it is: "Boa Tarde!!"(Good Afternoon!!), "Boa Noite!!"(Good Night!!), "Bom Dia!!"(Good Morning!!) and "Boa Madrugada!!"(Good Dawn!!) and on the bottom lines display the hours, minutes and seconds (HH: MM: SS).

Input Sample Output Sample

1.50
95.5
187.5
279.5

Bom Dia!!
06:06:00
Boa Tarde!!
12:22:00
Boa Noite!!
18:30:00
De Madrugada!!
00:38:00