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.
a = int(input())
b = a // 3600
c = a - b * 3600
d = c // 60
A = a - b * 3600 + d * 60
B = A % 60
print(b)
print(d)
print(B)
print(str(b) + ":" + str(d) + ":" + str(B))


a = int(input())
b = a // 3600
c = a - b * 3600
d = c // 60
A = a - b * 3600 + d * 60
B = A % 60
print(str(b) + ":" + str(d) + ":" + str(B))

