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.

Public test cases

**Input**

0 4 20 50 0

**Output**

420600

**Input**

20 4 200 50 1234

**Output**

631789834

Information

- Author
- Elisabeth Rodríguez
- Language
- English
- Translator
- Gabriel Valiente
- Original language
- Catalan
- Other languages
- Catalan
- Official solutions
- C++
- User solutions
- C C++ Java Python