Write a program that converts to seconds a given amount of years, days, hours, minutes and seconds.
Input
The input consists of five natural numbers that represent the years, days, hours, minutes and seconds, respectively.
Output
Write the total number of seconds represented by the input.
Observation
You may assume all the years have 365 days.
Input
0 4 20 50 0
Output
420600
Input
20 4 200 50 1234
Output
631789834