H,M = int(input()).split() A = (60*H) + M -45 print(int(A)//60) print(int(A)%60)
10 10
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 1, in <module> ValueError: invalid literal for int() with base 10: '10 10'
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!