Number of days
Medium
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Calculate the number of days between two calendar dates, including both the starting and ending days.
Input Data
The input consists of two lines, each containing a calendar date in the format D M Y (day month year). The constraints are: 1 ≤ D ≤ 31, 1 ≤ M ≤ 12, 1 ≤ Y ≤ 2100.
Output Data
The output should be a single number representing the total number of days between the two dates.
Examples
Input #1
Answer #1
Submissions 4K
Acceptance rate 13%