Write a program which reads an integer $S$ [second] and converts it to $h:m:s$ where $h$, $m$, $s$ denote hours, minutes (less than 60) and seconds (less than 60) respectively.
S=int(input())

h=S // 60*60
m=(S % 60*60) // 60
s=S % 60  

print(str(h) + ":" + str(m) + ":" + str(s))
S=int(input())

h=S // (60*60)
m=(S % (60*60)) // 60
s=S % 60  

print(str(h) + ":" + str(m) + ":" + str(s))