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:
s = int(input())

m = s / 60
sec = str(s % 60)

hrs = str(m / 60)
min = str(m % 60)

print (hrs + ":" + min + ":" + sec)

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 = input()
h = int(S / 3600)
tmp = int(S % 3600)

if tmp >= 60:
	m = int(tmp / 60)
	s = int(tmp % 60)
else:
	m = tmp
	s = 0
print "{0}:{1}:{2}".format(h,m,s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    S = input()

    if 0 <= input < 86400:
        h = S / 3600
        m = (S - h*3600)/60
        s = S - h*3600 - m*60
        print("%d:%d:%d" % (h,m,s))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    S = input()
    if 0 <= input < 86400:
        h = S / 3600
        m = (S - h*3600)/60
        s = S - h*3600 - m*60
        print("%d:%d:%d" % (h,m,s))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
S = input()
if 0 <= input < 86400:
    h = S / 3600
    m = (S - h*3600)/60
    s = S - h*3600 - m*60
    print("%d:%d:%d" % (h,m,s))

Submission status: Wrong Answer

Solution code:
S = input()
if 0 <= input < 86400:
   h = S / 3600
   m = (S - h*3600)/60
   s = S - h*3600 - m*60
   print("%d:%d:%d" % (h,m,s))

Submission status: Wrong Answer

Solution code:
def main(input):
    if 0 <= input < 86400:
        hour = input / 3600
        minute = (input / 60) % 60
        seconde = input % 60
        print("%d:%d:%d\n" % (hour,minute,seconde))

if __name__ == "__main__":
    print("main start!\n")
    input = input()
    main(int(input))
    print("main end!")

Submission status: Wrong Answer

Solution code:
I=input()
s=I%60
a=(I-s)/60
#a:zikanwofundearawasita
m=a%60
b=a-m
h=b%60
print h,
print ":"
print m,
print ":"
print s,

Submission status: Wrong Answer

Solution code:
I=input()
s=I%60
a=(I-s)/60
#a:zikanwofundearawasita
m=a%60
b=a-m
h=b%60
print h,
print ":"
print m,
print ":"
print s,
print

Submission status: Wrong Answer

Solution code:
#I=input()
ans=''
I=46979
s=I%60
a=(I-s)/60
#a:zikanwofundearawasita
m=a%60
b=a-m
h=b/60
ans+=str(h)
ans+=':'
ans+=str(m)
ans+=':'
ans+=str(s)
print ans

Submission status: Wrong Answer

Solution code:
import sys
s = input()
sec = int(s)
if(sec < 86400):
    if(sec > 0):
        hour = int(sec / 3600)
        sec = sec - 3600 * hour
        min = int(sec / 60)
        sec = sec - min * 60
        sys.stdout.write(str(hour))
        sys.stdout.write(":")
        sys.stdout.write(str(hour))
        sys.stdout.write(":")
        sys.stdout.write(str(sec))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from datetime import timedelta
def main():
	sec = timedelta(seconds= int(input()))
	print(sec)
if __name__ == '__main__':
  main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())
h = 0
m = 0
s = 0
 
while True:
    if S >= 3600:
        h += 1
        S -= 3600
    elif S >= 60:
        m += 1
        S -= 60
    else:
        S = s
        break
 
print(str(h) + ":" + str(m) + ":" + str(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8

sec  = int(input("INPUT"))

hun  = int(sec/60)
hour = int(hun/60)

hun -= hour * 60
sec %= 60

print(hour,end=":")
print(hun,end=":")
print(sec)

Submission status: Wrong Answer

Solution code:
S=int(input())

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

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

Submission status: Wrong Answer

Solution code:
print(38400/3600)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())
s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print("[0][1][2]".format(h,m,s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print("[0]:[1]:[2]".format(h,m,s))

Submission status: Wrong Answer

Solution code:
S = int(input())

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

print("[0]:[1]:[2]".format(h,m,s))

Submission status: Wrong Answer

Solution code:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print(h,':',m,":",s ,':')
#print("{a}:{b}:{c}".format(h,m,s))

Submission status: Wrong Answer

Solution code:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print(h,':',m,":",s,":",)
#print("{a}:{b}:{c}".format(h,m,s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = int(input())

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())

s = S % 60
m = s // 60 % 60
h = s // 60 // 60
print("{0}:{1}:{2}".format(h,m,s))

Submission status: Wrong Answer

Solution code:
S = int(input())

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

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

Submission status: Wrong Answer

Solution code:
S = int(input())

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

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

Submission status: Wrong Answer

Solution code:

S = int(input())

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

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

Submission status: Wrong Answer

Solution code:
S = int(input())

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

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

Submission status: Wrong Answer

Solution code:
S = int(input())

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
if (n < 60):
    h = 0
    m = 0
    s = n
else:
    s = n % 60
    h = n // 3600
    m = n - (h * 3600) - s
print('{}:{}:{}'.format(h, m, s))

Submission status: Wrong Answer

Solution code:
time=int(input())
sec=time%60
min=(time/60)%60
hour=time/3600
print(hour,min,sec,sep=':')

Submission status: Wrong Answer

Solution code:
time=int(input())
sec=time%60
min=(time/60)%60
hour=time/3600
print(hour,':',min,':',sec)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())
h = S // 3600
m = (S - h * 3600) // 60
s = S - h * 3600 - m * 60
'{}:{}:{}'.format(h, m, s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()
n = int(n)

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

Submission status: Wrong Answer

Solution code:
n = input()
n = int(n)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !
x = input('The Integer is ')
# x = input('The Integer is ')
h = int(x) / 3600
m = (int(x) % 3600) / 60
s = int(x) - int(h) * 3600 - int(m) * 60
print(str(h)+':'+str(m)+':'+str(s))

Submission status: Wrong Answer

Solution code:
# -*- coding:utf-8 -*-
s = int(input())
 
h = s//60
s = s-h*60
 
m = s//60
s = s-60*m
 
print(':'.join(map(str,[h,m,s])))

Submission status: Wrong Answer

Solution code:
S = int(raw_input())

print "%d:%d:%d", (S/3600, S/60 % 60, S%60)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import time

t = int(input())
h = 0
m = 0
s = 0

t_str = time.gmtime(t)
h, m, s = t_str.tm_hour, t_str.tm_min, t_str.tm_sec
print(h, m, s)

Submission status: Wrong Answer

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

print(a,':',b,':',c)

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-(h*3600+m*60)
print(h,":",m,":",s)

Submission status: Wrong Answer

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

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:
S=float(input())
h=S//3600
m=(S-h*3600)//60
s=S-h*3600-m*60
print(h,"???",m,"???",s)

Submission status: Wrong Answer

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

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:
S=int(input())
h=S/3600
m=(S%3600)/60
s=(S%3600)%60
print(int(h),"???",int(m),"???",int(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = int(input())

h = s - s % 3600 
m = s% 3600 - (s % 3600)  % 60
s = (s % 3600)  % 60
print ( "h:m:s")

Submission status: Wrong Answer

Solution code:
S = int(input())

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

print(h, m, S)

Submission status: Wrong Answer

Solution code:
S=input()
h,m,s=1,1,0.0
print S
h=S/3600
m=(S-h*3600)/60
s=(S-h*3600-m*60) 
print ':'.join(map(str,[h,m,s]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = int(input())
h = s/3600
m = (s-3600*h)/60
s = s-3600*h-60*m
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 = s/3600
m = (s%3600)/60
s = s%3600%60
print(str(h),str(m),str(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,)

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:
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())
print(s // 3600, end="")
print(":", end="")
print(s // 60, end="")
print(":", end="")
print(s % 60)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=int(input())
sec=S%60
min=(S-sec)%3600/60
hour=(S-min*60-sec)/3600
print(str(hour)+":"+str(min)+":"+str(sec))

Submission status: Wrong Answer

Solution code:
S=int(input())
sec=S%60
S=S-sec
min=(S)%3600/60
S=S-min*60
hour=S/3600
print(str(hour)+":"+str(min)+":"+str(sec))

Submission status: Wrong Answer

Solution code:
S=int(input())
sec=S%60
S=S-sec
min=(S%3600)/60
S=S-min*60
hour=S/3600
print(str(hour)+":"+str(min)+":"+str(sec))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import time
seconds = int(input())
print(time.strftime('%H:%M:%S', time.gmtime(seconds)))

Submission status: Wrong Answer

Solution code:
s = int(input())

print(s//3600,'???',(s//60)%60,'???',s%60)

Submission status: Wrong Answer

Solution code:
def watch(s):
    hh = s / (60 * 60)
    mm_s = s % (60 * 60) # s??????hh??§??¨??????????§???°???????????????(??????:?§?)
    mm = mm_s / 60
    ss = mm_s % 60 # mm_s??????mm??§??¨??????????§???°???????????????(??????????§?)

    print(str(hh) + ":" + str(mm) + ":" + str(ss))

s = int(input())
watch(s)

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:
x=int(raw_input())
aa=int(x/360*0.1)
ab=int(x%360/60)
ac=x%60
import sys
sys.stdout.write(str(aa)+':'+str(ab)+':'+str(ac))
print""

Submission status: Wrong Answer

Solution code:
x=int(raw_input())
aa=int(x/360*0.1)
ab=int(x%360/60)
ac=int(x%60)
import sys
if x>=0 and x<=86400:
	sys.stdout.write(str(aa)+':'+str(ab)+':'+str(ac))
print""

Submission status: Wrong Answer

Solution code:
S = int(input())

h = int(S/360)
rest = S % 360
m = int(rest/60)
s = rest % m

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

Submission status: Wrong Answer

Solution code:
S = int(input())

h = int(S/360)
rest = S % 360
m = int(rest/60)
s = rest % 60

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

Submission status: Wrong Answer

Solution code:
S = int(input())

h = int(S/360)
rest = S % 360
m = int(rest/60)
s = rest % 60

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

Submission status: Wrong Answer

Solution code:
S = int(input())

h = int(S/360)
rest = S % 360
m = int(rest/60)
s = rest % 60

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

Submission status: Wrong Answer

Solution code:
s = int(input())

h = s/360
rest = s % 360
m = rest/60
s = rest % 60

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

Submission status: Wrong Answer

Solution code:
S = int(input())

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=int(input())
print(S//360,(S%360)//60,S%60,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:
x = int(input())
h = x//(60*60)
m = x%(60*60)
s = x%60
print(h,m,s,sep=":")

Submission status: Wrong Answer

Solution code:
s=int(input())
h=s/3600
s1=s%3600
m=s1/60
s2=m%60
o=str(h)+":"+str(m)+":"+str(s2)

print(o)

Submission status: Wrong Answer

Solution code:
S = int(input())
ko = ":"
print("S[0:2]" + ko + "S[2:3]" + ko + "S[3:5]")

Submission status: Wrong Answer

Solution code:
import time
print(time.ctime())

Submission status: Wrong Answer

Solution code:
S = int(input())

a = S//3600 #h
b = S%3600//60 #m
c = (S%3600)//60 # s

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print("{}:{}:{}".format(h,m,s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input_data = int(input())
hour=input_data/3600
input_data%=3600
min = input_data/60
input_data%=60

answer = str(hour)+":"+str(min)+":"+str(input_data)
print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=int(input())
x=int(S/360)
print(x,end=":")
S=S-x*360
x=int(S/60)
print(x,end=":")
S=S-x*60
print(S)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S_input = input()
S_ans = S_input % 60
M = int(S_input / 60)
M_ans = M % 60
H_ans = int(M / 60)
print "%d:%d:%d".format(S_ans, M_ans, H_ans)

Submission status: Wrong Answer

Solution code:
S_input = input()
S_ans = S_input % 60
M = int(S_input / 60)
M_ans = M % 60
H_ans = int(M / 60)
print "%d:%d:%d"%(S_ans, M_ans, H_ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = int(input())
print("{}:{}:{}".format(int(i/(60*60*60)), int((i%(60*60*60))-(i%60)/(60*60)), i%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%3600
print(h,m,s,sep=':')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
s = x % 60
x -= s
x /= 60
m = x % 60
x -= m
x /= 60
print(str(x) + ":" + str(m) + ":" + str(s))

Submission status: Wrong Answer

Solution code:
s = int(input())

if s > 3600: 
    h = s//3600
    m = s%3600
    s = m%60
    m = m//60
elif s > 60:
    h = 0
    m = s//60
    s = s%60
else:
    h = 0
    m = 0

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

Submission status: Wrong Answer

Solution code:
x = int(input())

a = x / 60

hour = a / 60

minute = x - (hour * 60)

second = x - 60 * (hour + minute)

print(str(hour + minute + second))

Submission status: Wrong Answer

Solution code:
S = int(input())

s = S % 3600

h = S / 3600

m = S - (h * 60) - s

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

Submission status: Wrong Answer

Solution code:
S = int(input())

s = S % 3600

h = S / 3600

m = S - (h * 60) - s

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

Submission status: Wrong Answer

Solution code:
S = int(input())

s = S % 3600

h = S / 3600

m = S - (h * 60) - s

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

Submission status: Wrong Answer

Solution code:
S = int(input())

s = (S % 3600)%60

h = S / 3600

m = (S % 3600)/60

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

Submission status: Wrong Answer

Solution code:
a = int(input())

s = (a % 3600)%60

h = a / 3600

m = (a % 3600)/60

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(str(h) + ':' + str(m) + ':' + str(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
time = int(input("time=:"))
H = int(time/3600)
M = int(time % 3600 / 60)
S = int(time % 3600 % 60 % 60)
print(str(H) + ":" + str(M) + ":" + str(S))

Submission status: Wrong Answer

Solution code:
x = int(input())

#1hour = 3600sec
h = x // 3600
m = x % 3600 // 60
s = x % 3600 % 60

print ("{}:{}:{}:".format(str(h), str(m), str(s)))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
all_time = int(input())

hour = all_time // 3600

minute = (all_time % 3600) % 60

second = (all_time % 3600) // 60

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

Submission status: Wrong Answer

Solution code:
import time
time.strftime('%H:%M:%S', time.gmtime(12345))

Submission status: Wrong Answer

Solution code:
from datetime import timedelta
print(str(timedelta(seconds=int(input()))))

Submission status: Wrong Answer

Solution code:
from datetime import timedelta
s=int(input())
print(str(timedelta(seconds=s)))

Submission status: Wrong Answer

Solution code:
a=input()
s=int(a)
if s<86400 and s>=0:

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

    print(h,m,s)

else:
    exit()

Submission status: Wrong Answer

Solution code:
import math
S = int(input())
h = math.floor(S/3600)
m = math.floor((S - h*3600)/60) 
s = (S - (h*3600 + m*60))%60
print(h, m, s)

Submission status: Wrong Answer

Solution code:
S = int(input())

h = str(S//360)
M = S%360

m = str(M//60)

s = str(M%60)
print(h+":"+m+":"+s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# S sec -> h:m:s
time = int(raw_input())
hour = time / 3600
min = (time - (hour*3600))/60
sec = time - hour*3600 - min*60

print hour, min, sec

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
m = S % 3600
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 - h * 3600 - m * 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 = S / 3600
m = S / 60
s = S % 3600
print(h,':', m, ':', s, ':')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
a=int(input())
h=int(int(a)/3600)
b=int((int(a)-h*3600)/60)
s=int((int(a)-h*3600-b*60))
print(h,b,s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(input())
print(a/(60*60), end=':')
print(a%(60*60)/60, end=':')
print(a%(60*60*60))

Submission status: Wrong Answer

Solution code:
a=int(input())
print(a/(60*60), end=':')
print((a%(60*60))/60, end=':')
print(a%60)

Submission status: Wrong Answer

Solution code:
# -*-coding:utf-8

import fileinput
import math

def main():

    a = int(input())

    hour = a / 3600
    minute = (a%3600) / 60
    second = (a%3600) % 60

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
s=int(input())

hour=s/3600
min=s/600%60
sec=s%60

print(hour, min,sec,sep=":")

Submission status: Wrong Answer

Solution code:
s=int(input())

hour=s//3600
min=s//600%60
sec=s%60

print(hour, min,sec,sep=":")

Submission status: Wrong Answer

Solution code:
def main():
    n = int(input())

    if n <= 0 or n >= 86400:
        print("invalid answer.")
        return

    h = int(n / 3600)
    th = h*3600
    m = int((n-th) /60)
    tm = m *60
    s = n-th-tm

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import datetime

data = input()
data = int(data)
print(datetime.timedelta(seconds=data))

Submission status: Wrong Answer

Solution code:
import datetime

data = input()
print(datetime.timedelta(seconds=int(data)))

Submission status: Wrong Answer

Solution code:
s=int(input())
print(f'{s/3600%60} {s/60%60} {s%60}')

Submission status: Wrong Answer

Solution code:
s=int(input())
print(f'{s/3600}:{s/60%60}:{s%60}')

Submission status: Wrong Answer

Solution code:
s=int(input())
print(f'{s/3600%60}:{s/60%60}:{s%60}')

Submission status: Wrong Answer

Solution code:
s = 2000
m = s / 60
h = m / 60

print(s,m,h)

Submission status: Wrong Answer

Solution code:
s = 2000
m = s / 60
h = m / 60

print(int(s),int(m),int(h))

Submission status: Wrong Answer

Solution code:
s = 2000
m = s / 60
h = m / 60

print(int(h),int(m),int(s))

Submission status: Wrong Answer

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

print(int(h),int(m),int(s))

Submission status: Wrong Answer

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

print(h)