a,b,c=map(int,input().split())
q=int(input())
f=(c+(q%60))%60
e=(b+(q//60)+(c+(q%60))//60)%60
d=(a+(q//3600)+(b+(q//60)+(c+(q%60))//60)//60)%24
print(d,e,f,sep=' ')
top of page

실제 작동 상태를 확인하려면 라이브 사이트로 이동하세요.
20250513
20250513
댓글 0개
좋아요
댓글(0)
bottom of page