Calculate the number of days from the beginning of the era up to and including the specified date. The era starts on January of year one.
The input contains a single line with a date in the format DDMMYYYY.
Output the required number of days.
Example 1