We are going to consider two moments in time that happened on the same day — hours, minutes, and seconds. It is known that the second moment happened not earlier than the first one. Find how many seconds passed between the two moments.
Input data format
The program receives three integers: hours, minutes, seconds of the first moment, and three integers of the second moment.
Output data format
Output the number of seconds between these two moments.