2025-12-30 23:16:11 +09:00

7 lines
218 B
Python

for _ in range(3) :
h, m, s = (lambda x : (x[3] - x[0], x[4] - x[1], x[5] - x[2]))(list(map(int, input().split())))
if s < 0 :
m, s = m-1, 60+s
if m < 0 :
h, m = h-1, 60+m
print(h, m ,s)