Files
CodeObject/zeta_python/completed/2884.py
2020-04-20 20:43:48 +09:00

6 lines
95 B
Python

h, m = map(int, input().split())
if m < 45:
print((h-1)%24, 15+m)
else:
print(h, m-45)