|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|2 초||512 MB||10||6||6||60.000%|
After failing his chemistry exam, Aodhan (foolishly) decided to get his own back on his teacher and show him just how good he is at science.
He hides a contraption that he made at home into a cupboard behind his chemistry teacher's desk. It consists of a raspberry pi controlling a mechanical arm which will drop a piece of sodium into a cup of water at the precise time his teacher starts one of his lessons. He will enter the time of the 'explosion' into his raspberry pi program which will tell the mechanical arm to drop the sodium into the water after the time is up.
Aodhan know the current time and when he wants the explosion, but maths is (also) not one of his strong points. Write a program for Aodhan that calculates the time to the explosion (this is the time that Aodhan will enter into his raspberry pi program). The time Aodhan wants is at least one second and at most 24 hours.
The first line of the input contains the current time in hh:mm:ss format (hours, minutes, seconds). The hours will be between 0 and 23 (inclusive) and the minutes and seconds between 0 and 59.
The second line contains the time of the explosion in the same format.
Output the desired time on a single line, in the same format as the times in the input.