Number of days#147

Number of days

1 second
64 megabytes
Medium

Calculate the number of days between two calendar dates, including both the starting and ending days.

Input

The input consists of two lines. Each line contains a calendar date in the format (day, month, year), where 1 \leq D \leq 31, 1 \leq M \leq 12, 1 \leq Y \leq 2100.

Output

Output a single integer: the number of days between the two given dates (inclusive).

Examples

Example 1

Loading
Loading