#C4894. Convert Minutes to Hours

    ID: 48482 Type: Default 1000ms 256MiB

Convert Minutes to Hours

Convert Minutes to Hours

You are given an integer (N) representing the total number of minutes. Your task is to convert it into hours and minutes and output the result in the format "hours:minutes". Specifically, compute the number of hours by performing an integer division (\lfloor N/60 \rfloor) and the remaining minutes using the modulo operation (N \bmod 60). The input satisfies (0 \leq N \leq 10^4).

inputFormat

The input is provided via standard input and consists of a single line containing an integer (N) representing the total minutes.

outputFormat

Output a single line to standard output containing a string in the format "hours:minutes" where hours and minutes are computed from (N) as described.## sample

123
2:3