IntermediateRating 1200
Days Between Dates
Print the number of days between two dates (always non-negative).
Input
Two lines, each YYYY-MM-DD (years 1900–2100).
Output
One integer.
Sample 1
Input
2024-01-01 2024-12-31
Output
365
Sample 2
Input
2000-02-28 2000-03-01
Output
2
Output appears here