Files
CodeObject/zeta/py/completed/2884.py
2025-05-07 04:44:30 +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)