13969 - Frieren and Magic   

Description

Frieren wants to learn time magic.

She got really interested in learning it, but manipulating time is just too complicated for her.

Can you help her with your C programming skills?

Given input X which describes the total days, convert X to the number of years and seconds.

Note :

  • 1 year is 365 days
  • 1 day is 24 hours
  • 1 hour is 3600 seconds

Input

Input contains 1 integer X

0 < X < 231

Output

Output 3 numbers, number of years in double datatype, years in float datatype, and seconds, separated by space.
The year should be in 6th decimal place format.
Don’t forget to print a new line '\n' after the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss