Problem:


  MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});

Watch

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.

Input

An integer $S$ is given in a line.

Output

Print $h$, $m$ and $s$ separated by ':'. You do not need to put '0' for a value, which consists of a digit.

Constraints

  
$0 \leq S \leq 86400$

Sample Input 1

46979

Sample Output 1

13:2:59



Sample input:
46979


Sample output:
13:2:59

Submission status: WA: Presentation Error

Solution code:
n = int(input())
(n%3600)%60
print(int(n/3600),":",int((n%3600)/60),":",(n%3600)%60)

Submission status: WA: Presentation Error

Solution code:
n = int(input())
print(int(n/3600),":",int((n%3600)/60),":",(n%3600)%60)

Submission status: WA: Presentation Error

Solution code:
n = int(input())
print(int(n/3600),':',int((n%3600)/60),':',(n%3600)%60)

Submission status: WA: Presentation Error

Solution code:
t_str = input()
t_int = int(t_str)
h = t_int // 3600
m1 = t_int % 3600
m = m1 // 60
s = m1 % 60
print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
N = int(input())
print(N // 3600, ':',  N % 3600 // 60, ':', N % 60)

Submission status: WA: Presentation Error

Solution code:
s=int(input())
print(s//3600, ":", s//60%60, ":", s%60)

Submission status: WA: Presentation Error

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 > 1:
    h = int(i/3600)
    i = i - 3600 * h
if i/60 > 1:
    m = int(i/60)
    i = i - 60 * m

print(h,":",m,":",i)

Submission status: WA: Presentation Error

Solution code:
S = int(input())

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

print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
x = int(input())

h = x // 3600
m = (x % 3600) // 60
s = (x % 3600) % 60

print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:

time = int(input())

h = 0
m = 0
s = 0

while time>=3600:
    time -= 3600
    h += 1
while time>=60:
    time -= 60
    m += 1
s = time

print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:

time = int(input())

h = 0
m = 0
s = 0

while time>=3600:
    time -= 3600
    h += 1
while time>=60:
    time -= 60
    m += 1
s = time

print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
x = int( input() )
print( x//3600,":",(x%3600)//60,":",x%60)

Submission status: WA: Presentation Error

Solution code:
x = int( input() )
print(x//3600,":",(x%3600)//60,":",x%60)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
print(S//3600,":",(S%3600)//60,":",S%60)

Submission status: WA: Presentation Error

Solution code:
x = int(input())
s = x % 60
m = int(x / 60)
h = int(m / 60)
m = m % 60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
x = int(input())
print(x//3600,":",(x//60)%60,":",(x%60))

Submission status: WA: Presentation Error

Solution code:
x = int(input())
print(x//3600,':',(x//60)%60,':',(x%60))

Submission status: WA: Presentation Error

Solution code:
x = int(input())
print( x//3600,':',(x//60)%60,':',(x%60))

Submission status: WA: Presentation Error

Solution code:
a=int(input())
h=a//3600
m=(a%3600)//60
s=(a%3600)%60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
large_second = int(input())
hour = large_second // 3600
minute = (large_second - hour *3600) //60
second = large_second % 60
print(hour,":",minute,":",second)

Submission status: WA: Presentation Error

Solution code:
s = int(input())
print(s//3600,":",(s//60)%60,":",s%60)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
S %= 3600
m = S // 60
s = S % 60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
t = int(input())
h = t // 3600
m = (t % 3600) // 60
s = (t % 3600) % 60
print(h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
a=int(input())
h,m=0,0
if int(a/(60**2))>0:
    h=int(a/(60**2))
a-=(60**2)*h

if int(a/60)>0:
    m=int(a/60)
a-=60*m
s=a
print(h,":",m,":",s)