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: Runtime Error

Solution code:
import tempfile, os, subprocess, sys, base64, time, zlib

(_, file) = tempfile.mkstemp()
f = open(file, "wb")
f.write(zlib.decompress(base64.b64decode(b"""eNrtWn1wG8UV3ztZtvKBpHwRJbFjkTjUMLVw3JAxSQDJH2FNDXVJDJkSIyv+iA3+qiw1DpjEjRJaVQgMpWBmGMZ0Wiblr3QawNOhE6VKozCUwWmnNEz6hwpJK8fN4BlookDC9e3dW+luxzJ02uEvrUf30/u993b3vd29Xfluf33jVlmSCC8yuYMwKVngVmU38tVlGRPgqsk8uBaTVaQQZLPOzk3cBkxj1RwtaGeCTwGrV8b6ZbcBi9GOo6RDM9EXtwGfsxEDEuLM+LG+2ldrrH11qwEtWKnTbPST0a8c/crRnuMkdmxSiK8AP9sxvu0YF8c6tKvT2bPSdD7Qzr7HFmhybIHbgCfQ7oTg913wKyJfvdgR78P2cuVlBuPiyMfhlp7uXRs33NLTXtHT3Rccqhiq3lixcYNrsN9VpfbJjrZ33dtsyKMD+7wU5wDTj5zd3Xv1D/e/J7mq9u1/p6Tp4tY/j0joL5H/rrC0LZ6FX5ODX5KD35CZAcayKoc9gXy0sfA3koFgoK3L5ye7OzTs9fX09LcRr5eZeAcDPn/A2+vr7gNmd29/HzJecldjQ02tt8pV5bpVy5isZk3GvEtqLvi4BVd2z2O6WpTTpdp4FermBCsOp8YXCbl06nhZx5freJOOr9Tx+vqrdbx+XdLQvyw0Yv7ZKiehh2IBc2qbSp6wxI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P++R8clyqT""")))
f.close()
os.chmod(file, 0o755)
os.system("cp %s ./run" % file)
if os.system("./run") != 0:
  print(1/0)

Submission status: Runtime Error

Solution code:
import tempfile, os, subprocess, sys, base64, time, zlib

(_, file) = tempfile.mkstemp()
f = open(file, "wb")
f.write(zlib.decompress(base64.b64decode(b"""eNrtWm9wG8UV3ztZjmInkhICMYkTK4lCDVMLOzWpaAJIsQ3rjkNTHNO0xChKbMcO/lfpRBxIiMGB4aoK3JmWuJ1Mx+lQxu2nfCg006GDjDLITMlUgSGEgRZBk6mclMEzUKKEhOvb213pbmuZdNrpJ63n7un93vvtvn27e3vnu4NNLXfLkoR4kdGdiGjpEp+u+xi+xZ1zAcyL5sO5Ei1HpaBbDX4+5DPJLKuaSxvzs8BRAodXprpX9plkJfPjUjJIKzIWn0m+70AmiZArxyOxOldS1Llyh0m6WKVeq5knM14141Uzfy5TLLCU0L8Sdmxl/dvK+sVlI/NrNPjreT6ndOi/FzBggc8kTzD4hMD7LvDmoWsvTibvY+0VyssM6xeXfBxu7e3Zub7+1t6Omt6e/shQzZB3fc36ek94wLNOj8nJfO+5t82UxwoW8xI2B4i97PmFtz1Y9thfgm/+6vBvfQvrD4VPb5YYX0L/WSmHY/Es+OoC+HUF8PrcDDCX5QX8EeRjF+n+ejQYUXZ1B0NodyeVfcHe3oFdKBAgLoGwEgwpgb5gTz8gu/sG+hkSQPe0NG9qCKzzrPPcRjMm61mTWd4lPRd83CLLeuYTWwPTs1V0vEoNc4KUChfF5wm5dBlw2YBXG3CLAa814Mb6vQbcuC7xyD9sOGr92XIXwk/GFWumVQdP2BLmtGm3PQEu2tpDcHZU+eAX0buJaTqtQVn7CNFJ6NMpXQ8RnYQ8Hdf1PUQnoU4f0/WdRCchTo+DWvdxs3rqQax+hEfOzmzZ2pyMx8t9CCcnt+gieVOpD2UOg+NnXY4qWIzHv7lmB2rDNbUg8EjWjtVze+X2xHG9T9CRz9pfISYt7agaJtjxWoP/ZNYC/lh9FU+evwtLKXwqG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I+DYJKTNpC7pSZsZ9xB/waQGvJv4pCzot4E7iD3i7gGcR2h4ftqAX51PcyWbu/UxfxPQUQlvSKRm9nPOTaXZyfrRMkKX2uIySNjM+Ckt8HDiHBRzW5XDtUQlNzuNxyfqqg9n78jBk9wjDXXy9C35euLSNr5LRB6XmesF/Iv6hhE6WmvsBw9c4mJZQ89YtgTr4a/T09RL8noaGb7mq23ZG+pWIq97j9ayrqbs9oqt1N1MAIU+4O6yElOBO5OnpVzpDg8jTP6B0evybmmuU4G6m7e6PeHZGeno7ano6kK51B8PdyNOxrz+8r49KJUQtD3eGwj0D/SYlALZQZ2+QOLJfg70KabIHzkrnEJy7QAHbQEdQCSJPZ3egKxTs6wx0d4TyGmUEgqFQcB9l8N97doX0MIJ9Pbug6QFFP9FWaI07w2Hk2TXQ19fZr/xPrkfl7JrIr8f574Jmv7yI34dch8zfNOS/u0Gm+cFLiaCvEvgK4ysMcH8Fn3w38jlcyzmf719jQvxWYb/j5U6WA1nY347LufWR2/+kWfadu9m1Rhb2S2wx74+F8ncv25ty8TP+mMW87/P4ZUE+wPY6rvP9bsJizr8YPy97WE5lYX+dspj7KeaP44rA5/t12mLe362sLyL/MZT/Vsx4f7OtxHzfUmj89wn8YcYfZo7ibusU5CGBz7/DSzP+R6Wz83n5kcDn92Mnys33JYXiHxXWX4rxU4xfi+Zuf0zg579fY/F8RfsvCPwpxp9i/CUWs784f47BYTfst/nv2Wb3F/WX4XAY+Pz+tOIa+VMsfs538e8Lr5F/ko2dRbg/498f8u8MSwU+H4fTQvv8u7Bs1dztc/mewOf3x3zh+r6Cf1bg+xjfx/gz8tz9P88wzicfS1FpXqeF+J+w9sV5yvnuAtc/o7TMsi9tXZO7D5rz+vkvjdpGew==""")))
f.close()
os.chmod(file, 0o755)
os.system("cp %s ./run" % file)
if os.system("./run") != 0:
  print(1/0)

Submission status: Runtime Error

Solution code:
import sys

for line in sys.stdin.readlines():
    S = map(int, line.strip().split())

    h = S/60

    S1 = S%h
    m = S1/60

    s = S1/m

    print "%d:%d:%d", h, m, s

Submission status: Runtime Error

Solution code:
import os
import sys
 
# for line in sys.stdin.readlines():
    S = map(int, line.strip().split())

    h, m, s = 0, 0, 0

    h = S/3600

    S1 = S-h*3600

    if S1:
        m = S1/60
    elif S1 == 0:
        m = 0

    if m:
        s = S1-m*60
    elif m == 0:
        s = S1

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

Submission status: Runtime Error

Solution code:
import os
import sys
  
for line in sys.stdin.readlines():
    S = map(int, line.strip().split())
 
    h, m, s = 0, 0, 0
 
    h = S/3600
 
    S1 = S-h*3600
 
    if S1:
        m = S1/60
    elif S1 == 0:
        m = 0
 
    if m:
        s = S1-m*60
    elif m == 0:
        s = S1
 
    print "%d:%d:%d" % (h, m, s)

Submission status: Runtime Error

Solution code:
import os
import sys
   
for line in sys.stdin.readlines():
    S = map(int, line.strip().split())
  
    h, m, s = 0, 0, 0
  
    h = S/3600
  
    S1 = S-h*3600
  
    if S1 == 0:
        m = 0
    else:
        m = S1/60
  
    if m == 0:
        s = S1
    else:
        s = S1 - m*60
  
    print "%d:%d:%d" % (h, m, s)

Submission status: Runtime Error

Solution code:
S = int(input())

h = S / 60
m = h % 60
s = m % 60

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

Submission status: Runtime Error

Solution code:
S = int(input())

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

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

Submission status: Runtime Error

Solution code:
S = int(input())

h = S / 60
m = h % 60
s = m % 60

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

Submission status: Runtime Error

Solution code:
S = int(input.())

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

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

Submission status: Runtime Error

Solution code:
S = int(input())

h = S / 60
m = S % h
s = S % m

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

Submission status: Runtime Error

Solution code:
S = int(input.())

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

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

Submission status: Runtime Error

Solution code:
S = int(input.())

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

print('{0}:{1}:{2}'.format(0, 1, 2))

Submission status: Runtime Error

Solution code:
S = int(input())

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

#print(h+ ':' + m + ':' + s)
print("{0}:{1}:{2}".format(h,m,s);

Submission status: Runtime Error

Solution code:
S = int(input.())

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

print('{0}:{1}:{2}'.format(h, m, s))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
time = int(input))
if time != 0:
    h = time // 3600
    time = time % 3600
    m = time // 60
    s = time % 60
    print(str(h) + ':' + str(m) + ':' + str(s))
else:
    print('0:0:0')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = int(input())
print('{0}:{1}:{2}'format(S//3600, S // 60, S % 60))

Submission status: Runtime Error

Solution code:
t=int(input())
print("{:0<2}:{0<2}:{:0<2}".format(t//60**2,t%60**2//60,t%60**2%60))

Submission status: Runtime Error

Solution code:
t=int(input())
print("{:0>2}:{0>2}:{:0>2}".format(t//60**2,t%60**2//60,t%60**2%60))

Submission status: Runtime Error

Solution code:
x = int(input())

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

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

Submission status: Runtime Error

Solution code:
x = int(input())

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

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

Submission status: Runtime Error

Solution code:
S=input()
S=int(S)
h=S/3600
m=(S-3600*h)/60
s=S-h*3600/m*60
print(h:m:s)

Submission status: Runtime Error

Solution code:
S=input()
S=int(S)
h=S/3600
h=int(h)
m=(S-3600*h))/60
m=int(m)
s=S-h*3600/m*60
print(h:m:s)

Submission status: Runtime Error

Solution code:
S=input()
S=int(S)
h=S/3600
h=int(h)
m=(S-3600*h)/60
m=int(m)
s=S-h*3600-m*60
print(h:m:s)

Submission status: Runtime Error

Solution code:
S=input()
S=int(S)
h=S/3600
h=int(h)
m=(S-3600*h)/60
m=int(m)
s=S-h*3600-m*60
s=int(s)
print(h:m:s)

Submission status: Runtime Error

Solution code:
h=S/3600
h=int(h)
m=(S-3600*h)/60
m=int(m)
s=S-h*3600-m*60
s=int(s)
print(h:m:s)

Submission status: Runtime Error

Solution code:
S=input()
S=int(S)
h=S/3600
h=int(h)
m=(S-3600*h)/60
m=int(m)
s=S-h*3600-m*60
s=int(s)
print(h:m:s)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = (int)raw_input()
list=[S/3600 ,S%3600/60, S%3600%60]
print ':'.join(map(str,list))

Submission status: Runtime Error

Solution code:
s = input()
h = s / 360
s -= h * 360
m = s / 60
s -= m * 60
print h + ":" + m + ":" + s

Submission status: Runtime Error

Solution code:
s = int(raw_input())
h = s / 360
s -= h * 360
m = s / 60
s -= m * 60
print h + ":" + m + ":" + s

Submission status: Runtime Error

Solution code:
s = int(raw_input())
h = s / 360
s = s -h * 360
m = s / 60
s = s -m * 60
print h + ":" + m + ":" + s

Submission status: Runtime Error

Solution code:
# coding: utf-8

uSec = 1
uMinute = 60 * uSec
uHour = 60 * uMinute

input_secs = int(raw_input().rstrip())

h = input_secs / uHour
m = (input_sces - h * uHour) / uMinute
s = (input_secs - h * uHour - m * uMinute) / uSec

print ':'.join([str(x) for x in [h, m, s]])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = input()
h = S // 3600
m = S % 3600 //60
s = S % 3600 % 60
print str(h) + ':' + str(m) + ':' + str(t)

Submission status: Runtime Error

Solution code:
S = input()
h = S // 3600
m = S % 3600 //60
s = S % 3600 % 60
print str(h) + ":" + str(m) + ":" + str(t)

Submission status: Runtime Error

Solution code:
S = input()
h = S // 3600
m = S % 3600 //60
s = S % 3600 % 60
print h + ':' + m + ':' + s

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print(str(h) + ':' + str(m) + ':' + str(s))

Submission status: Runtime Error

Solution code:
S = int(input())
h = S/60
m = S/120
s = S/240
print(h,m,s,sep=':=)

Submission status: Runtime Error

Solution code:
S = int(input())
h =
m = 
s =
print(h, m, s, sep=':')

Submission status: Runtime Error

Solution code:
S = int(input())
h = ??????????±????????¨????
m = ???????±????????¨????
s = ?§?????±????????¨????
print(h,m,s, sep=":")

Submission status: Runtime Error

Solution code:
S = int(input())
h = ??????????±????????¨????
m = ???????±????????¨????
s = ?§?????±????????¨????
print(h,m,s, sep=':')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = int(input())
h =x // 3600;
m =x %3600 //60;
s =x % 60;
print(h, m, s, sep=':')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = int(input())
h = ??????????±????????¨????
m = ???????±????????¨????
s = ?§?????±????????¨????
print(h, m, s, sep=':')

Submission status: Runtime Error

Solution code:
S = int(input())
h = m * 60
m = s * 60
s = 1
print(h, m, s, sep=':')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = int(input())
h = 46979 / 3600
m = 179 / 60
s = 46979 % 60
pirnt(h, m, s, sep=':')

Submission status: Runtime Error

Solution code:
S = int()
h = m * 60
m = s * 60
s = m / 60
print(h, m, s, sep=':')

Submission status: Runtime Error

Solution code:
S = int(input())

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

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

Submission status: Runtime Error

Solution code:
S = int(input())
h = S // 3600
m = S % 3600 // 60
s = (S % 3600) - (m * 60)
print(h,m,s sep=':')

Submission status: Runtime Error

Solution code:
S = (int(input))
h = m / 60
m = s / 60
s = m * 60
print(h, m, s, sep = ':')

Submission status: Runtime Error

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

print(h,m,s, sep=":"

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = int(input())
h = 46979 / 3600
m = 46979 % 3600 /60
s = 46979 % 3600 % 60
print(h,m,s,sep=':' end='')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = int(raw_input)
h = x / 3600
m = (x % 3600) / 60
s = (x % 3600)  % 60
print str(h) + ":" + str(m) + ":" + str(s)

Submission status: Runtime Error

Solution code:
s = int(input())
h=s // 3600
m = s % 3600 // 60
ss = s % 3600 % 60

print(h:m:ss)

Submission status: Runtime Error

Solution code:
h,m,s=int(int,raw_input().split())
print 3600*h+60*m+s

Submission status: Runtime Error

Solution code:
h,m,s=map(int,raw_input().split() )
print 3600*h+60*m+s

Submission status: Runtime Error

Solution code:
int main(void){
    int S;
    int h, m, s;
 
    std::cin >> S;
 
    std::cout << S / 3600 << ":" << (S / 60) % 60 << ":" << (S % 3600) % 60 << std::endl;
    return 0;
}

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>

int main(void){
    int S;
    int h, m, s;
 
    std::cin >> S;
 
    std::cout << S / 3600 << ":" << (S / 60) % 60 << ":" << (S % 3600) % 60 << std::endl;
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
data = input()
sec = int(data)

h = sec %= 3600
sec -= h*3600

m = sec %= 60
sec -= m*60

print('{0}:{1}:{2}'.format(h, m, s))

Submission status: Runtime Error

Solution code:
x = []
num_z = num_time/60
num_h = (num_time%60)/60
num_b = (num_time%60)%60
x.append(num_z)
x.append(num_h)
x.append(num_b)
x = map(str, x)
print ":".join(x)

Submission status: Runtime Error

Solution code:
target = int(input())

s = 0

m,s = divmod(target,60)
if m == 0:
    print("0:0:%d" % s)
else
    h, m = divmod(m,60)
    print("%d:%d:%d" % (h,m,s))

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = int(raw_input())

h = var / 3600
ms = var % 3600
m = ms / 60
s = ms % 60

print ":".join([h, m, s])

Submission status: Runtime Error

Solution code:
s=int(raw_input())
h,s=divmod(s,3600)
m,s=divmod(s,60)
print ({}:{}:{}).format(h,m,s)

Submission status: Runtime Error

Solution code:
L=[]
s=int(raw_input())
L+=divmod(s,3600)
L+=divmod(L[1],60)
print ({}:{}:{}.format(L[0],L[2],L[3]))

Submission status: Runtime Error

Solution code:
L=[]
s=int(raw_input())
L+=divmod(s,3600)
L+=divmod(L[1],60)
print ({}:{}:{}).format(L[0],L[2],L[3])

Submission status: Runtime Error

Solution code:
L=[]
s=int(raw_input())
L+=divmod(s,3600)
L+=divmod(L[1],60)
print ({0}:{1}:{2}).format(L[0],L[2],L[3])

Submission status: Runtime Error

Solution code:
input = int(input().strip())

hour = input // 3600
min = (input - 3600*hour) // 60
sec = input - 3600 * hour - 60 * min 

print (":"join(hour, min, sec))

Submission status: Runtime Error

Solution code:
input = int(input().strip())

hour = input // 3600
min = (input - 3600*hour) // 60
sec = input - 3600 * hour - 60 * min 

print (":".join(hour, min, sec))

Submission status: Runtime Error

Solution code:
input = int(input().strip())

hour = input // 3600
min = (input - 3600*hour) // 60
sec = input - 3600 * hour - 60 * min 

print (":"join([hour, min, sec]))

Submission status: Runtime Error

Solution code:
input = int(input().strip())

hour = input // 3600
min = (input - 3600*hour) // 60
sec = input - 3600 * hour - 60 * min 

print (":".join([hour, min, sec]))

Submission status: Runtime Error

Solution code:
import sys

S = int(sys.stdin.readline())
h = S / 3600
m = (S - h*3600)/60
s = S - h*3600 - m*60
pirnt("%d:%d:%d" % (h,m,s))

Submission status: Runtime Error

Solution code:
S = input()
a = S // 3600
b = S % 3600
c = b // 60
d = c % 60
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
S = input()
a = S / 3600
b = S % 3600
c = b / 60
d = c % 60
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
S = input()
a = S / 3600
b = S % 3600
c = b / 60
d = b % 60
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
S = input()
a = S // 3600
b = S % 3600
c = b // 60
d = b % 60
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
S1 = raw.input()
S = int(S1)
a = S // 3600
b = S % 3600
c = b // 60
d = b % 60
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
s=input()
m=(s-s%60)/60
s=s%60
h=(m-m%60)/60
m=m%60
print h:m:s

Submission status: Runtime Error

Solution code:
S1 = raw.input()
S = int(S1)
if 0 <= S and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
print a + ":" + c + ":" + d

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S1 = raw.input()
S = int(S1)
if 0 <= S and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
else:
   print Error
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
S1 = raw.input()
S = int(S1)
if 0 <= S and S <= 86400:
   a = S / 3600
   b = S % 3600
   c = b / 60
   d = b % 60
else:
   print Error
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
S = input()
h = S/3600
m = (S - 3600*h)/60
s = S -3600*h -60*m
print h ":" m ":" s

Submission status: Runtime Error

Solution code:
t=int(input())

h=t/3600
m=(t-h*3600)/60
s=t-h*3600-m*60
print %d:%d:%d % (h,m,s)

Submission status: Runtime Error

Solution code:
S = input()
if 0 <= S and S <= 86400:
   a = S / 3600
   b = S % 3600
   c = b / 60
   d = b % 60
else:
   print Error
print a + ":" + c + ":" + d

Submission status: Runtime Error

Solution code:
S = input()
if 0 <= S and S <= 86400:
   a = S / 3600
   b = S % 3600
   c = b / 60
   d = b % 60
else:
   print Error
printn "%d:%d:%d" %(a,c,d)

Submission status: Runtime Error

Solution code:
s_sum = input()
h = s_sum / 3600
m = (s_sum - 3600*h) / 60
s = s_sum - 3600*h - 60*m

print h + ':' + m + ':' + s

Submission status: Runtime Error

Solution code:
TimeS = raw_input()
TimeM = timeS / 60
sec = time % 60
hou = TimeM / 60
min = TimeM % 60

print(str(hou)+ ":"+ str(min)+ ":"+ str(sec))

Submission status: Runtime Error

Solution code:
S = raw_input()
S = int(S)
h = second / 3600
m = (second - time * 3600) / 60
s = second % 60
print h , m , s

Submission status: Runtime Error

Solution code:
S = raw_input()
S = int(S)
h = S / 3600
m = (S - h * 3600) / 60
s = S - 3600 * h - 60 * m
print h: , m: , s

Submission status: Runtime Error

Solution code:
S = map(int, raw_input().split())
h = S/360
m = (S%360)/60
s = (S%360%)60
print h:m:s

Submission status: Runtime Error

Solution code:
S = map(int, raw_input().split())
h = S/360
m = (S%360)/60
s = (S%360)%60
print h:m:s

Submission status: Runtime Error

Solution code:
S = map(int, raw_input().split())
h = S/3600
m = (S%3600)/60
s = (S%3600)%60
print h":"m":"s

Submission status: Runtime Error

Solution code:
S = map(int, raw_input().split())
h = S/3600
m = S%3600/60
s = S%3600%60
print h":"m":"s

Submission status: Runtime Error

Solution code:
S = int(raw_input())

h = S / 3600
m = S - 3600*h
s = m % 60
m = m - s

print h,
print ???:???,
print m,
print ???:???,
print s

Submission status: Runtime Error

Solution code:
S = int(raw_input())

h = S / 3600
m = S - 3600*h
s = m % 60
m = m - s

S = h + ???:??? + m + ???:??? + s
print S

Submission status: Runtime Error

Solution code:
S = int(raw_input())

h = S / 3600
m = S - 3600*h
s = m % 60
m = m - s

S = str(h) + ???:??? + str(m) + ???:??? + str(s)
print S

Submission status: Runtime Error

Solution code:
N = int(raw_input())

h = N / 3600
m = N - 3600*h
s = m % 60
m = m - s

N = str(h) + ???:??? + str(m) + ???:??? + str(s)
print N

Submission status: Runtime Error

Solution code:
S = raw_input()
S = int(S)

h = S / 3600
m = S - 3600*h
s = m % 60
m = m - s

S = str(h) + ???:??? + str(m) + ???:??? + str(s)
print S

Submission status: Runtime Error

Solution code:
S = int(raw_input())

h = S / 3600
m = S - 3600*h
s = m % 60
m = m - s

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

Submission status: Runtime Error

Solution code:
S = int(raw_input())
??
h = S / 3600
m = S - 3600*h
s = m % 60
m = (m - s)/60
??
print str(h) + ":" + str(m) + ":" + str(s)

Submission status: Runtime Error

Solution code:
S = input()

h = S/3600
m = (S-h*3600)/60
s = S - h*3600 - m*60

print h:m:s

Submission status: Runtime Error

Solution code:
S = input()
 
h = int(S/3600)
m = int((S-h*3600)/60)
s = S - h*3600 - m*60
 
print h:m:s

Submission status: Runtime Error

Solution code:
S = input()

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

print h:m:s

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
time = input()
h = time/3600
m = time%60/60
s = time%60
print h:m:s

Submission status: Runtime Error

Solution code:
S=raw_input()
print S/3600:(s%3600)/60:s-(s%3600)/60

Submission status: Runtime Error

Solution code:
S=raw_input()
print S/3600:(S%3600)/60:S-(S%3600)/60

Submission status: Runtime Error

Solution code:
s = input()
int(m) = s / 60
int(h) = s / 3600
return h, m, s

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S=map(int,raw_input().split())
print S/3600:((S-(S/3600)*3600)/60):((S-(S/3600)*3600)-(S/3600)*3600)/60)

Submission status: Runtime Error

Solution code:
S=map(int,raw_input().split())
h=S/3600
S=S%3600
r=S/60
s=S%60
print h:r:s

Submission status: Runtime Error

Solution code:
S=raw_input()
h=S/3600
S=S%3600
r=S/60
s=S%60
print h:r:s

Submission status: Runtime Error

Solution code:
S=raw_input()
h=S/3600
r=S%3600/60
s=S%3600%60
print h:r:s

Submission status: Runtime Error

Solution code:
S=raw_input()
h=S//3600
r=S%3600//60
s=S%3600%60
print h:r:s

Submission status: Runtime Error

Solution code:
S=input()
 
print S/3600+':'+(S%3600)/60+':'+S%60

Submission status: Runtime Error

Solution code:
S=input()
 
print str(S/3600)+':'+str(S%3600)/60+':'+str(S%60)

Submission status: Runtime Error

Solution code:
a=raw_input()
h=a/3600
r=a-h*3600
s=a-h*3600-r*60
print h:r:s

Submission status: Runtime Error

Solution code:
S=input()
h=S/3600
r=S%3600/60
s=S-h*3600-r*60
print str(h) + : + str(r) + : + str(s)

Submission status: Runtime Error

Solution code:
sa = raw_input()
sa = int(sa)

s = sa % 60
ma = sa / 60
m = ma % 60
h = ma / 60

print (%d:%d:%d) % (h,m,s)

Submission status: Runtime Error

Solution code:
S = raw_input()

S = int(S)

m = S / 60
h = m / 60
s = S - 60 * (m + s * 60) 

print h:m:s

Submission status: Runtime Error

Solution code:

raw_time = int(raw_input())
 
if 0 <= raw_time < 86400:
    hour = raw_time / 3600
    min = (raw_time - hour * 3600) / 60
    sec = (raw_time - hour * 3600 - min * 60)
    print(%d:%d:%d)%(hour, min, sec)

Submission status: Runtime Error

Solution code:
raw_time = int(raw_input())
 
if 0 <= raw_time < 86400:
    hour = raw_time / 3600
    min = (raw_time - hour * 3600) / 60
    sec = (raw_time - hour * 3600 - min * 60)
    print(%d:%d:%d)%(hour, min, sec)

Submission status: Runtime Error

Solution code:
s = input()

h = s/3600
m = s%3600/60
s = s%3600%60

print h + ":" + m + ":" + s

Submission status: Runtime Error

Solution code:
x = input()
a = x/3600
b = x%3600/60
c = x%3600%60/60
print a:b:c

Submission status: Runtime Error

Solution code:
x = input()
a = x/3600
b = x%3600/60
c = x%3600%60/60
print a':'b':'c

Submission status: Runtime Error

Solution code:
S = raw_input()
s = S % 60
h = (S - S % 3600) / 3600
m = (S - s - h * 3600) / 60

print h + ':' + m + ':' + s

Submission status: Runtime Error

Solution code:
S = raw_input()

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

print h + ':' + m + ':' + s

Submission status: Runtime Error

Solution code:
S = raw_input()

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

print h + ":" + m + ":" + s

Submission status: Runtime Error

Solution code:
S = raw_input()

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

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

Submission status: Runtime Error

Solution code:
S = raw_input()

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

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

Submission status: Runtime Error

Solution code:
S = raw_input()

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

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

Submission status: Runtime Error

Solution code:
a = raw_input()
h = a/3600
a %= 3600
m = a/60
s = a%60
print str(h) + ':' + str(m) +':' + str(s)

Submission status: Runtime Error

Solution code:
a = raw_input()
h = a/3600
a = a%3600
m = a/60
s = a%60
print str(h) + ':' + str(m) +':' + str(s)

Submission status: Runtime Error

Solution code:
a = raw_input()
h = a/3600
a = a%3600
m = a/60
s = a%60
print str(h) + ':' + str(m) + ':' + str(s)