3 lines
71 B
Python
3 lines
71 B
Python
h, m = map(int,input().split())
|
|
t = 60*h + m - 45
|
|
print(t//60%24, t%60) |
h, m = map(int,input().split())
|
|
t = 60*h + m - 45
|
|
print(t//60%24, t%60) |