#K93332. Format Time

    ID: 38396 Type: Default 1000ms 256MiB

Format Time

Format Time

You are given three integers representing hours, minutes, and seconds. Your task is to format these values into a time string in the format (hh:mm:ss). Each component must be exactly two digits (use leading zeros if necessary).

Constraints: ( 0 \leq \text{hours} \leq 23, \quad 0 \leq \text{minutes} \leq 59, \quad 0 \leq \text{seconds} \leq 59 )

For example, given the input 9 5 45, the output should be 09:05:45.

inputFormat

A single line containing three space-separated integers representing hours, minutes, and seconds.

outputFormat

A single line displaying the formatted time in the format (hh:mm:ss), where each field is two digits.## sample

9 5 45
09:05:45