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: Accepted

Solution code:
S = float(input())
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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
sec = s%60
min = s//60 # may be more than 60
hr = min//60
min = min%60

print(hr, min, sec, sep=':')

Submission status: Accepted

Solution code:
s=int(input())

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

# line 3-6 can be replace with 9-11
hr=s//3600
min=(s//60)%60
sec=s%60

print(hr, min, sec, sep=':')

Submission status: Accepted

Solution code:
s = int(input())

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

# line 3-6 can be replace with 9-11
hr = s // 3600
min = (s // 60) % 60
sec = s % 60

print(hr, min, sec, sep=':')

Submission status: Accepted

Solution code:
s = int(input())

sec = s % 60
min = s // 60
hr = min // 60
min = min % 60

print(hr, min, sec, sep=':')

Submission status: Accepted

Solution code:
s = int(input())

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


print(hr, min, sec, sep=':')

Submission status: Accepted

Solution code:
s = int(input())
sec = s%60
min = s//60 # may be more than 60
hr = min//60
min = min%60
print(hr, min, sec, sep=':')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = int(input())

hh = num // 3600
h2 = num % 3600

mm = h2 // 60
ss = h2 % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
hh = int(s/3600)
mm = int(s%3600/60)
ss = int(s%3600%60)
print(str(hh) + ":" + str(mm) + ":" + str(ss))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())
a,s=divmod(S,60)
h,m=divmod(a,60)
print(str(h)+':'+str(m)+':'+str(s))

Submission status: Accepted

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: Accepted

Solution code:
t = int(input())

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

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

sec = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

data=int(input())

h,mod=divmod(data,3600)
m,s=divmod(mod,60)

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from sys import stdin

SECONDS_PER_HOUR = 3600
SECONDS_PER_MINUTE = 60

S = int(stdin.readline().rstrip())

h, m = divmod(S, SECONDS_PER_HOUR)
m, s = divmod(m, SECONDS_PER_MINUTE)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

Solution code:
time = int(input())
hour=int(time/3600)
minutes=int((time-hour*3600)/60)
seconds=int(time-(hour*3600)-(minutes*60))
print(str(hour)+':'+str(minutes)+':'+str(seconds))

Submission status: Accepted

Solution code:
sec = int(input())
hour=int(sec/3600)
minutes=int((sec-hour*3600)/60)
seconds=int(sec%60)
print('%d:%d:%d'%(hour,minutes,seconds))

Submission status: Accepted

Solution code:
n = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
watch = int(input())

hour= watch//3600

watch -= hour *3600

minute = watch // 60

watch -=minute*60

print(hour,minute,watch,sep=':')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())
h = S // (60 * 60)
m = (S % (60*60)) // 60
s = S % 60
# セパレータ(sep)は":" を用いる
print(h, m, s, sep=":")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
sec = x%60
y = x/60
min = y%60
hrs = y/60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
t = input()

h = t / 3600
t %= 3600

m = t / 60
s = t % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input()
h=n/3600
m=(n-h*3600)/60
print ':'.join(map(str,[h,m,n%60]))

Submission status: Accepted

Solution code:
n = int(input())

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

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

Submission status: Accepted

Solution code:
S = input()

m = S/60
s = S%60

h = m/60
m = m%60

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

Submission status: Accepted

Solution code:
n=input()
print':'.join(map(str,[n/3600,n%3600/60,n%60]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    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: Accepted

Solution code:
if __name__ == '__main__':
    param_seconds = int(raw_input())

    h = param_seconds / 3600
    rest_seconds = param_seconds % 3600

    m = rest_seconds / 60
    rest_seconds %= 60

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

Submission status: Accepted

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: Accepted

Solution code:
n = input()
print str(n/3600)+":"+str((n%3600)/60)+":"+str(n%60)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
H = int(int(s / 60) / 60)
i = int(s / 60) % 60
s = s % (60 * 60) % 60
print str(H) + ":" + str(i) + ":" + str(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(raw_input())
M, s = S / 60, S % 60
h, m = M / 60, M % 60
print '%d:%d:%d' % (h, m, s)

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

(_, file) = tempfile.mkstemp()
f = open(file, "wb")
f.write(zlib.decompress(base64.b64decode(b"""eNrtWn1sW9UVv3biJG2pbWhaQlMaFxKWMMWk6cfSQMFO6/QFhS6QGqp2IXViJ3Hl2Jn93LqFdJ3SIr2ZDv8xpPAHrIwKsQ9GkQaKqi1NG2iKxKaARsVExSKUbnZTRAahmDapd+6759rXj6TtNGn7Jzdyzju/83Hvuffc++579/3E0Viv1+kIL3ryIKFcVZ5N5W2IW+5KqwBWQxbA/xWkmOQBbxD0bMSWRZPomtMC1MuBXy78avSMr9HbsugK1ONUJ1ADEYsti/6ikGRRaHnajrbVvJKh5pW7sugUtsOSk22nR7tytCtHfU5HsWGjmvhy8bcN/W7DuDjdjHqbBX1ami7IbnqdNGG/mWxZdBz1xjV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H8f+QeQv4D8RuRnkK9Hfhmep9NDvy2bNtVayp1tYb8ctqy11lirK1dvCKvs6goGEGINdYXkoOxqI1avX/YEe4jVH5A9VntdQ6Xs6kSu0x+2toW9Pnel101UrssV6iJW9z5/aF83o3KQSfZ4giH6bklkWkEW9PhcVBGvenwyrdIL/2VPBP53AAOygNslu4jV09XaEXR1e1q73MEMxyxaXfTFF7Pg17vbg2ozXN3edqg6IKv/WC3MY1soRKztge5uj1/+r/NrEeY4n1+Z7zyyv+/QrjO8LNGc5Wa+oxC/0siUXA2/SmMvo72MQOkN7NeyVy0Bbs/Xo34EeH4aNOsXLw9iH+g169UQAgUYcB7GXqBZN+pxrdJr1r+zOdnr3Vz9txXXGm7P15daDHSZpv16Dd2Jaxfn+frVlJvd/9r287Ib+1SvWS97crPXS23/8fhljT1ffwdys9drA96TtPYHxG9IhPtVxJB9H5pr/Pdp7I+i/VG0j2n0zRp6SGPPv6uqQuDL/NntefmZxp7fX0uN2feZudof08y/KrSvQvsRTcJox69fY5/5Honx4zeo/1WN/ZjZhpTxf8i5fv3H6atW4X6d+T5pdn0t/0f4mQR7vt8oukn7s9h+bm9Be8tN2v8Zxy5Hc7/l35ONCvNftOd5cE5TP/9+Jlly/fo5/URjz/c7fOJuv4H9uMZ+F9rvQvtj5Pr5exF9pccPv+fJXTX7+q21/wLrr9Lm2arZ12/dLDRntn0P2idvsH7+GwZ8Dfs=""")))
f.close()
os.chmod(file, 0o755)
os.system("cp %s ./run" % file)
if os.system("./run") != 0:
  print(1/0)

Submission status: Accepted

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

print '%d:%d:%d' %(H,M,S)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#coding utf-8
x=int(input())
h=int(x/3600)
m=int(x%3600/60)
s=int(x%60)
print("%d:%d:%d"%(h,m,s))

Submission status: Accepted

Solution code:
a = int(raw_input())
 
b, c  = divmod(a, 3600)
d, e = divmod(c, 60)

print ("%d:%d:%d") % (b,d,e)

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num =raw_input()
num = int(num)
h = num/3600
m = (num-h*3600)/60
s = num-h*3600-m*60
h,m,s = map(str,(h,m,s))
print h+':'+m+':'+s

Submission status: Accepted

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: Accepted

Solution code:
#!/usr/bin/env python3
s = int(input())
h, m, s = int(s / 3600), int(s / 60) % 60, s % 60
print(h, m, s, sep=':')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

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

Submission status: Accepted

Solution code:
import sys
S = int(sys.stdin.readline())
h = int(S / 60 / 60)
m = int(S % 3600 / 60)
s = S % 60
print("%d:%d:%d" % (h, m, s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8
#1_1_D 2015.3.6
second = int(input())
hour = second // 3600
minutes = (second // 60) % 60
second %= 60
print("%s:%s:%s" %(hour,minutes,second))

Submission status: Accepted

Solution code:
#coding:utf-8
#1_1_D 2015.3.6
second = int(input())
hour = second // 3600
minutes = (second // 60) % 60
second %= 60
print("{}:{}:{}".format(hour,minutes,second))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
	s = int(input())
	m = s // 60
	h = str(m // 60)
	m = str(m % 60)
	s = str(s % 60)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
t=int(raw_input())
def sec(t):
	s= t%60
	return s
def mi(t):
	m= t//60
	while m>=60:
		m=m-60
	return m
def hr(t):
	h= t//3600
	return h
print "%d:%d:%d" % (hr(t),mi(t),sec(t))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

S = int(raw_input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
class itp1_1d:
    def cal(self,time):
        h=time/3600
        time%=3600
        m=time/60
        time%=60
        s=time
        print str(h)+":"+str(m)+":"+str(s)
if __name__=="__main__":
    time=input()
    run=itp1_1d()
    run.cal(time)

Submission status: Accepted

Solution code:
import sys

x = int( sys.stdin.readline() )
h = x//3600
m = ( x%3600 )//60
s = ( x%3600 )%60
print( "{}:{}:{}".format( h, m, s) )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sec=int(input())
print(":".join(map(str, [int(sec/3600), int(sec/60)%60, sec%60])))

Submission status: Accepted

Solution code:
a = int ( input ( ) )

h = a // 3600
m = ( a // 60 ) % 60
d = a % 60
print ( "%s:%s:%s" % ( h, m, d ) )

Submission status: Accepted

Solution code:
#coding:UTF-8

x = input()
a = x/3600
b = (x%3600)/60
c = (x%3600)%60
print str(a)+":"+str(b)+":"+str(c)

Submission status: Accepted

Solution code:
n = int(input())
m, sec = divmod(n, 60)
hr, m = divmod(m, 60)
print(hr, m, sec, sep=':')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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_secs - h * uHour) / uMinute
s = (input_secs - h * uHour - m * uMinute) / uSec
 
print ':'.join([str(x) for x in [h, m, s]])

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    t0 = int(raw_input())
    h = t0 / 60 / 60
    t1 = t0 - ( h * 60 * 60 )
    m = t1  / 60
    s = t1 - ( m * 60 )
    print "{0}:{1}:{2}".format(h,m,s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

Solution code:
S = int(raw_input())
print '%d:%d:%d' %(S/3600,(S/60)%60,S%60)

Submission status: Accepted

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


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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())


base = s // 60

print('{}:{}:{}'.format(base // 60, base%60, s%60))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

Solution code:

val = int(raw_input())
hour = 0
minute = 0

while 59 < val:
  if 59 < val:
    minute += 1
  if 59 < minute:
    minute = 0
    hour += 1
  val -= 60

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
prm = sys.stdin.readline()
S = int(prm)
h = S / (60 * 60);
S = S % (60 * 60);
m = S / 60;
s = S % 60;
print str(h)+':'+str(m)+':'+str(s)

Submission status: Accepted

Solution code:
print(':'.join(map(str, (lambda a: (a // 3600, a // 60 % 60, a % 60))(int(input())))))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())

h = time // 3600
m = (time // 60) % 60
t = time % 60
print("{0}:{1}:{2}" .format(h, m, t))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = int(input())

q1, r = divmod(r, 3600)
q2, r = divmod(r, 60)

print("{0}:{1}:{2}".format(q1, q2, r))

Submission status: Accepted

Solution code:
s_time = input()

print(str(s_time//60//60) + ":" + str(s_time // 60 % 60) + ":" + str(s_time % 60))

Submission status: Accepted

Solution code:
x = int(raw_input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

h = int(sec / 3600)
sec -= h*3600

m = int(sec / 60)
sec -= m*60

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

Submission status: Accepted

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: Accepted

Solution code:
import sys

input_sec = sys.stdin.readline()

input_sec = int(input_sec)

hour = input_sec / 3600

minute = (input_sec % 3600) / 60

second = input_sec % 60

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

Submission status: Accepted

Solution code:
import sys

line = sys.stdin.readline()
s = int(line) % 60
i = int(line) / 60
m = i % 60
h = i /60
print str(h) + ":" + str(m) + ":" + str(s)

Submission status: Accepted

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 "%d:%d:%d" %(h, m, s)

Submission status: Accepted

Solution code:
S = raw_input()
S = int(S)
if S/3600 > 0:
    h = S/3600
else: h = 0
if (S % 3600) / 60 > 0:
    m = (S % 3600) / 60
else: m = 0
if (S % 3600) % 60 > 0:
    s = (S % 3600) % 60
else: s = 0
h= str(h)
m= str(m)
s= str(s)
#print h,m,s
print h + ':' + m + ':' + s

Submission status: Accepted

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

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

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