Hard
Angle Between Clock Hands
Read a time
HH:MM (00:00–23:59). The hour hand moves 0.5° per minute and the minute hand 6° per minute. Print the smaller angle between the hands with 1 decimal.Input
One line.
Output
One number.
Sample 1
Input
03:00
Output
90.0
Sample 2
Input
12:30
Output
165.0
Output appears here