Recently, a hot pot restaurant just opened in Jessie's school, and there are always plenty of people waiting in line.
Given the date and time Jessie arrived at the restaurant and the time that it was finally Jessie's turn to enjoy the hot pot, please calculate how much time had elapsed for Jessie queuing up for it.
Two lines, each line contains a timestamp with the format "yyyy/mm/dd hh:mm:ss", indicating the two moments said in the description.
The two timestamps might be on a different dates.
We guarantee that the time interval is less than 3 hours (10800 seconds).
Output a single line containing one number, how many seconds the time had elapsed.
Please remember to print "\n" at the end.