Number of days since the beginning of the era
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Calculate the total number of days from the start of the era up to and including a specified date. The era begins on January 1st of the first year.
Input
The input consists of a single line containing a date in the format DDMMYYYY.
Output
Output the total number of days.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 16%