Problem Description从a点b分到s点t分时针和分针重合多少次?
Input有多组数据,每组1行4个数 a,b,s,t. 1<=a,s <=12, 0<=b,t<60. 0 0 0 0结束.
Output参看Sample output
Sample Input12 50 1 23 8 3 202 45 11 011 0 3 201 2 12 503 20 3 80 0 0 0
Sample Output01841110