2025-12-27 22:28:59 +09:00

2 lines
98 B
Python

time = sum([int(input()) for _ in range(4)])
print('\n'.join(list(map(str, [time//60, time%60]))))