Clock face – 1

Clock face – 1. H hours, M minutes and S seconds are passed since the midnight (0 ≤ H < 12, 0 ≤ M < 60, 0 ≤ S < 60). Determine the angle (in degrees) of the hour hand on the clock face right now.

Input

Output

1
2
6

31.05

1
0
0

30

0
1
0

0.5

0
2
0

1

0
2
1

1.00833

 

Leave a Reply

Your email address will not be published. Required fields are marked *