How long until New Year?#7366

How long until New Year?

1 secondo
64 megabyte
Molto facile

Santa Claus has a clock that shows, in seconds, the time remaining until the New Year. Since Santa is getting on in years, he finds it difficult to perform some mathematical operations quickly. Your task is to help Santa by determining how many full days, hours, minutes, and seconds are left until the New Year, given the number of seconds remaining. That is, decompose the given number of seconds into complete days, hours, minutes, and seconds.

Input

The only line contains an integer (0 < N \le 31\,500\,000) — the number of seconds remaining until the New Year.

Output

Print four integers separated by spaces: the number of complete days, hours, minutes, and seconds remaining. There must be no space after the last number.

Esempi

Esempio 1

Loading
Loading