Give a time.(hh:mm:ss),you should answer the angle between any two of the minute.hour.second hand
Notice that the answer must be not more 180 and not less than 0
for each case,output there real number like A/B.(A and B are coprime).if it's an integer then just print it.describe the angle between hour and minute,hour and second hand,minute and second hand.
4 00:00:00 06:00:00 12:54:55 04:40:00
0 0 0 180 180 0 1391/24 1379/24 1/2 100 140 120
每行输出数据末尾均应带有空格