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.
The only line contains an integer (0 < N \le 31\,500\,000) — the number of seconds remaining until the New Year.
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.
Esempio 1