George woke up and saw the current time *s* on the digital clock. Besides, George knows that he has slept for time *t*. 

Help George! Write a program that will, given time *s* and *t*, determine the time *p* when George went to bed. Note that George could have gone to bed yesterday relatively to the current time (see the second test sample).
The first line contains current time *s* as a string in the format "hh:mm". The second line contains time *t* in the format "hh:mm" — the duration of George's sleep. It is guaranteed that the input contains the correct time in the 24-hour format, that is, 00 ≤ *hh* ≤ 23, 00 ≤ *mm* ≤ 59.
import time

gitup=input()
numh=input()

gh,gm=[int (i) for i in gitup.split(':')]
nh,nm=[int (i) for i in numh.split(':')]

for i in range(nh):
    if gh==0:
        gh=23
    else:
        gh=gh-1

for i in range(nm):
    if gm==0:
        gm=60
        gh=gh-1
    else:
        gm=gm-1

if gh<10 and gm<10:
    print('0'+str(gh)+':'+'0'+str(gm))
elif gh<10 and gm>10:
    print('0' + str(gh) + ':' +str(gm))
elif gh>10 and gm<10:
    print(str(gh) + ':' + '0' + str(gm))
else:
    print(str(gh) + ':' +str(gm))