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:
x = int(input())
h =x/3600
m =(x/60)%60
sec = x%60
str = "%d:%d:%d"%(h,m,sec)
print(str)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! python3
# watch.py

import math

S = int(input())
h = math.floor(S/3600)
m = math.floor((S%3600)/60)
s = math.floor((S%60))
print(str(h) + ':' + str(m) + ':' + str(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ts = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_second = int(input())
if input_second < 0 and input > 86400:
    print("not correct")
hour = input_second // (60 * 60)
minute = (input_second - (hour * 60 * 60)) // 60
second = (input_second % (60 * 60)) % 60
print(str(hour) + ":" + str(minute) + ":" + str(second))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- Coding: utf-8 -*-
import math


def main():
    time = int(input())  #標準入力を行う
    h = math.floor(time / 3600) #時間
    m = math.floor((time - h*3600) / 60)    #分
    s = time - h*3600 - m*60    #秒
    print('{0}:{1}:{2}'.format(h, m, s))


main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
seconds = int(input())
print(":".join([str(n) for n in [seconds//60//60,seconds//60%60, seconds%60]]))

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
Sec = input()
S = int(Sec)
h = int(S/3600)
m = int(S%3600/60)
s = S%3600%60
st=(str(h)+':'+str(m)+':'+str(s))
print(st)
#1h=3600s
#1m=60s
#1s=1s
'''
8000s
h=2
8000%60=20
'''

Submission status: Accepted

Solution code:
seconds = input()
seconds = int(seconds)
hours = 0
minutes = 0

while seconds >= 3600:
    hours += 1
    seconds -= 3600

while seconds >= 60:
    minutes += 1
    seconds -= 60

fmt = (str(hours) + ':' + str(minutes) + ':' + str(seconds))
print(fmt)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())
x=int(a/3600)
i=int(a%3600)
y=int(i/60)
z=int(i%60)
print(x,":",y,":",z,sep="")

Submission status: Accepted

Solution code:
s = int(input())
h,hmod = divmod(s,3600)
m,mmod = divmod(hmod,60)
print(str(h) + ":" + str(m) + ":" + str(mmod))

Submission status: Accepted

Solution code:
time = int(input())
hour = time//3600 #時間の計算
minute = (time%3600)//60 #分の計算
second = (time%3600)%60 #秒の計算
print(hour,minute,second,sep = ":")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())

h = time - (time % 3600)

time = time - h

m = time - (time % 60)

s = time - m



print(str(int(h / 3600))+':'+str(int(m / 60))+':'+str(s))

Submission status: Accepted

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

time = int(input())
sec = time % 60
min = (time // 60) % 60
hour = time // 3600
print('{}:{}:{}'.format(hour, min, sec))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# hms.py
s = int(input())
print(str(s//3600)+":"+str((s%3600)//60)+":"+str(s%60))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input()) #second
h = S // 60**2 #hour
m = (S % 60**2) // 60 #minute
s = S % 60 #second

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

Submission status: Accepted

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

Submission status: Accepted

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

X = input()

H = X / 3600
M = (X % 3600) / 60
S = (X % 3600) % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sec = int(input())

h = int(sec / 3600)
m = int((sec % 3600) / 60)
s = sec % 60

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

Submission status: Accepted

Solution code:
import sys

if __name__ == '__main__':
    import doctest
    doctest.testmod()
    S = int(sys.stdin.read())
    h = S / 3600
    m = (S % 3600) / 60
    s = S % 60
    print "%d:%d:%d" % (h, m, 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:
time = int(input())

h = int(time/ 3600)
m = int((time%3600)/60)
s = int((time%3600)%60)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())
hh = int(S / 3600)
mm = int((S - hh * 3600) / 60)
ss = int((S - hh * 3600 - mm * 60))
print("{}:{}:{}".format(hh, mm, ss))

Submission status: Accepted

Solution code:
s = int(input())
HH = int(s / 3600)
Mi = int((s - HH * 3600) / 60)
ss = s - (HH * 3600 + Mi * 60)
print(str(HH)+':'+str(Mi)+':'+str(ss))

Submission status: Accepted

Solution code:
seconds=int(input())
hours=int(seconds/3600)
minutes=int((seconds-hours*3600)/60)
seconds=(seconds-hours*3600-minutes*60)
print(str(hours)+":"+str(minutes)+":"+str(seconds))

Submission status: Accepted

Solution code:
k=input()
s1=int(k)
msg=str(s1//3600)+":"+str((s1-(s1//3600)*3600)//60)+":"+str(s1%60)
print(msg)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

Solution code:
# Watch

# Input
number = int(input())

hour = number // (60 ** 2)
minute = (number // 60) % 60
second = number % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputed_data = input()
int_data = int(inputed_data)
seconds = int_data % 60
minutes = (int_data - seconds) // 60 % 60
hours = (int_data - seconds) // 60 // 60

print('{}:{}:{}'.format(hours, minutes, seconds))

Submission status: Accepted

Solution code:
import math as m
def solve(s):



    
    hours = m.floor(s/3600)
    mod_hour = s%3600
    minutes = m.floor(mod_hour/60)
    seconds = mod_hour%60
    answer_format = "{0}:{1}:{2}".format(hours,minutes,seconds)
    print(answer_format)


def answer():
    s = int(input())
    solve(s)

if __name__ == '__main__':
    answer()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

S, s = divmod(S, 60)
h, m = divmod(S, 60)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# AOJ ITP1_1_D-Watch
# Python3 2018.7.2 bal4u

sec = int(input())
print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep='')

Submission status: Accepted

Solution code:
second = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=int(input())

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

Solution code:
s=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s =int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=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
print("%d:%d:%d"%(h,m,s%60))

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

Solution code:
s=int(input())

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

Submission status: Accepted

Solution code:
s=int(input())

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

Submission status: Accepted

Solution code:
k=int(input())
h1=k//3600
h2=k%3600

m1=h2//60
m2=h2%60


print(str(h1)+":"+str(m1)+":"+str(m2))

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
S = int(input())
s = S%60
m = (S//60)%60
h = (S//60)//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(f"{h}:{m}:{s}")

Submission status: Accepted

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

print(str(h)+':'+str(m)+':'+str(s-h*3600-m*60))

Submission status: Accepted

Solution code:
time = int(input())

hour = int(time/3600)
minute = int( (time - 3600 * hour)/60 )
second = time - 3600 * hour - 60 * minute

print(hour, end=':')
print(minute, end=':')
print(second)

Submission status: Accepted

Solution code:
a=input()
a=int(a)
b=a//3600
c=a-b*3600
d=c//60
e=c-d*60
s="{0}:{1}:{2}".format(b,d,e)
print(s)

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:
#b, c = map(int, input().split())

S=int(input())

sec = S % 60
min = S // 60
hour = min // 60
min = min % 60

print( '{}:{}:{}'.format(hour, min, sec))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())
q,s = divmod(time,60)
h,m = divmod(q,60)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

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

Submission status: Accepted

Solution code:
h, v = divmod(int(input()), 3600)
m, s = divmod(v, 60)
print(f"{h}:{m}:{s}")

Submission status: Accepted

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

Solution code:
S = int(input())
h = S//3600
m = (S-3600*h)//60
s = S%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(f"{h}:{m}:{s}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
second = int(input())

minites = second // 60
second = second % 60
hour = minites //60
minites = minites % 60

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

Submission status: Accepted

Solution code:
n = int(input())
h = n // (60 ** 2)
ms = n - h * (60 ** 2)
m = ms // 60
s = int(ms - m * 60)

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

print(f"{h}:{m}:{s}")

Submission status: Accepted

Solution code:
a=int(input())
print(str(int(a/3600))+':'+str(int((a%3600)/60))+':'+str(int((a%3600)%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())

hour = s // 3600
s = s - hour*3600
minutes = s // 60
s = s - minutes*60

print(str(hour) + ":" + str(minutes) + ":" + str(s))

Submission status: Accepted

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

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

Submission status: Accepted

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

print("{}:{}:{}".format(s//3600,(s%3600)//60,s%60))

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

print(Sec//3600, ":", Sec%3600//60, ":", Sec%60, sep='')

Submission status: Accepted

Solution code:
S = int(input())

print(f"{S//3600}:{(S%3600)//60}:{S%60}")

Submission status: Accepted

Solution code:
a=int(input())

h=int(a//3600)

m=int((a%3600)//60)

s=int((a%3600)%60)

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

Submission status: Accepted

Solution code:
n = int(input())
hour = n // 3600
minute = (n - 3600* hour) // 60
sec = (n- 3600 * hour - 60 * minute) 
print(f'{hour}:{minute}:{sec}')

Submission status: Accepted

Solution code:
time = int(input())
H = time // 3600
M = (time % 3600) // 60
S = (time % 3600) % 60
word = "{0}:{1}:{2}".format(H,M,S)
print(word)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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())
h = int(S / 3600)
S = S % 3600
m = int(S / 60)
s = S % 60
print('{}:{}:{}'.format(h, m, s))

Submission status: Accepted

Solution code:
second = int(input())
print(second//(60**2),':',(second%(60**2))//60,':',second%60,sep='')

Submission status: Accepted

Solution code:
x = int(input())

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

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

Submission status: Accepted

Solution code:
S = int(input())

print(S//3600,':',S%3600//60,':',S%60, sep='')

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())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputed_seconds = input()
hours = int(inputed_seconds) // 3600
minutes = (int(inputed_seconds) - int(hours) * 3600) // 60
seconds = (int(inputed_seconds) - int(hours) * 3600) % 60
print(int(hours), ":", int(minutes), ":", int(seconds), sep="")

Submission status: Accepted

Solution code:
a=int(input())
h, hourmod = divmod(a, 3600)
m, minmod = divmod(hourmod, 60)
ans = str(h)+':'+str(m)+':'+str(minmod)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = int(input())
h = S // 3600
S %= 3600
m = S // 60
s = S % 60
print('{0}:{1}:{2}'.format(h, m, s))

Submission status: Accepted

Solution code:
N=int(input())
m=N%(60*60)
H=int(N/(60*60))
M=int(m/60)
s=m%60
k=str(H)
b=str(M)
r=str(s)
print(k+":"+b+":"+r)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a=int(input())

s = a % 60
m = a // 60 % 60
h = a // 60 //60
print(h,end=':')
print(m,end=':')
print(s)

Submission status: Accepted

Solution code:
#
# 1d
#

def main():
    S = int(input())
    h = S // 60 // 60
    m = S // 60 % 60
    s = S % 60
    print(f"{h}:{m}:{s}")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
sec = int(input())

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

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

Submission status: Accepted

Solution code:
S = int(input())
h = S//3600
S -= 3600*h
m = S//60
S -= 60*m
print(f"{h}:{m}:{S}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

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

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

Submission status: Accepted

Solution code:
time=int(input())

print(time//3600,':',(time%3600)//60,':',time%3600%60, sep='')

Submission status: Accepted

Solution code:
var=input()
S=int(var)
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 = int(input())
second = s % 60
s //= 60
minute = s % 60
s //= 60
print(f"{s}:{minute}:{second}")

Submission status: Accepted

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

m = mod1 // 60
s = mod1 % 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(f"{h}:{m}:{s}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(open(0).read())
h = S // (60 * 60)
m = (S - (h * 60 * 60)) // 60
s = (S - (h * 60 * 60) - (m * 60))
print("{}:{}:{}".format(h, m, s))

Submission status: Accepted

Solution code:

S=int(input())

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

print(ans)

Submission status: Accepted

Solution code:
S = int(input())

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

print(f"{h}:{m}:{s}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = int(input())
b = a//3600
c = a%3600//60
d = a%60
print(f'{b}:{c}:{d}')

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:
import datetime
n = int(input())
m, s = divmod(n, 60)
h, m = divmod(m, 60)
print(f"{h}:{m}:{s}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())
x=S//3600
y=(S%3600)//60
z=S%60
print(str(x)+":"+str(y)+":"+str(z))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
T = int(input())
sec = str(T % 60)
T = T // 60
min = str(T % 60)
hour = str(T // 60)

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

Submission status: Accepted

Solution code:
s = int(input())
hms = []
for i in range(3):
    hms.append(s % 60)
    s //= 60
print(str(hms[2]) + ':' + str(hms[1]) + ':' + str(hms[0]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = int(input())

h = int(num / 60 / 60)
m = int(num / 60) % 60
s = num % 60

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

Submission status: Accepted

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

h = S//3600
S -= h*3600

m = S//60
S -= 60*m

s = S

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

Submission status: Accepted

Solution code:
a = int(input())
hour,first = divmod(a,3600)
min,sec = divmod(first, 60)
print("{}:{}:{}".format(hour,min,sec))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = int(input())
h = s//3600
m = (s-h*3600)//60
t = (s-h*3600-m*60)
print(f'{h}:{m}:{t}')

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:
S = int(input())
h = int(S/3600) if 9 < int(S/3600) else int(S/3600)
m = int(S/60) % 60 if 9 < int(S/60) % 60 else int(S/60) % 60
s = S % 60 if 9 < S % 60 else S % 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 % 3600 % 60
print(str(h)+":"+str(m)+":"+str(s))

Submission status: Accepted

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

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