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.
ti = input()
duration = input()
hh = int(ti[:2])-int(duration[:2])
mm = int(ti[3:])-int(duration[3:])
if hh < 0 and mm >= 0:
	if len(str(mm)) == 1:
		mm = "0" + str(mm)
	print(str(24+hh)+":"+str(mm))
elif hh >= 0 and mm >= 0:
	if len(str(mm))==1:
		mm = "0" + str(mm)
	if len(str(hh)) == 1:
		hh = "0" + str(hh)
	print((hh)+":"+mm)
elif hh <= 0 and mm < 0:
	hh = 23 + hh
	mm = 60 + mm
	if len(str(mm))==1:
		mm = "0" + str(mm)
	if len(str(hh)) == 1:
		hh = "0" + str(hh)
	print(str(hh)+":"+str(mm))
elif hh > 0 and mm < 0:
	mm = 60 + mm
	hh = hh-1
	if len(str(mm))==1:
		mm = "0" + str(mm)
	if len(str(hh)) == 1:
		hh = "0" + str(hh)
	print((hh)+":"+mm)
	print(str(int(hh))+":"+mm)
