LearnPy Hub
← Input problems
Hard

Digital Clock

Read hours, minutes and seconds on one line and print them as HH:MM:SS with leading zeros.

Input

One line: h m s.

Output

HH:MM:SS

Sample 1

Input
9 5 3
Output
09:05:03

Sample 2

Input
23 59 59
Output
23:59:59
solution.py
Output appears here
Digital Clock · Python practice problem · LearnPy Hub