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:
# coding: utf-8
# Your code here!
S = int(input())

s = S % 60

m = (S//60) % 60

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

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%3600%60
ans = str(h)+":"+str(m)+":"+str(s)

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time_s = int(input())
hr = int(time_s/3600)
mn = int((time_s%3600)/60)
sec = int((time_s%3600)%60)
print(hr,end=":")
print(mn, end=":")
print(sec)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

print('%s:%s:%s' %(h,m,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())
h = s // 3600
m = s % 3600 // 60
a = s % 60
print(f"{h}:{m}:{a}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S = int(input())
s,m,h = S % 60,int(S / 60 % 60),int(S / 60 / 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:
x = int(input())
a = x // 3600
x %= 3600
b = x // 60
c = x % 60
print(str(a) + ":" + str(b) + ":" + str(c))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())

h = time // 3600

time = time - 3600 * h

m = time // 60

time = time - 60 * m

s = time

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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


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

Submission status: Accepted

Solution code:
def watch():

    second = int(input())
    hours_float = float(second / 3600 )
    hours_int = int(hours_float)

    minute_float = 60* (hours_float - float(hours_int))
    minute_int = int(minute_float)

    second_float = 60 * (minute_float - float(minute_int))
    second_int = round(second_float)
    
    if(second_int >= 60):
        second_int -= 60
        minute_int += + 1
    if(minute_int >= 60):
        minute_int -= 60
        hours_int += 1
    print('{}:{}:{}'.format(hours_int,minute_int,second_int))


watch()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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:
seconds = int(input())

h = str(seconds // 3600)
m = str(seconds % 3600 // 60)
s = str(seconds % 3600 % 60)

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

Submission status: Accepted

Solution code:
import datetime

input = int(input())
td = datetime.timedelta(seconds=input)

m, s = divmod(td.seconds, 60)
h, m = divmod(m, 60)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())

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

print(f"{hour}:{minute}:{second}")

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:
time = int(input())
second = time%60
time = (int)((time-second)/60)
minute = time%60 
hour = (int)((time-minute)/60)
s=(str)(hour) + ":" + (str)(minute) + ":" + (str)(second)
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sec = int(input())

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

print(f"{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:
# coding: utf-8
S=int(input())

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

Submission status: Accepted

Solution code:
S = int(input())

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

print('{}:{}:{}'.format(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:
h, mod = divmod(int(input()), 3600)
m, s = divmod(mod, 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(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:
S = int(input())
 
hh = 0
mm = 0
ss = 0
 
while S >= 3600:
    S -= 3600
    hh += 1
 
while S >= 60:
    S -= 60
    mm += 1
     
ss = S
print(hh,mm,ss, sep=':')

Submission status: Accepted

Solution code:
s = int(input())

hh = 0
mm = 0
ss = 0

while s >= 3600:
    s -= 3600
    hh += 1
    
while s >= 60:
    s -= 60
    mm += 1
    
ss = s
print(hh,mm,ss, sep=':')

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

Submission status: Accepted

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

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

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, m = divmod(S, 3600)
m, s = divmod(m, 60)
print(f'{h}:{m}:{s}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())
hour=S//(60*60)
minute=(S-(hour*60*60))//60
second=S-(hour*60*60)-(minute*60)

print("{}:{}:{}".format(hour,minute,second))

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

Submission status: Accepted

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

time = [0,0,0]

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

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

Submission status: Accepted

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

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)
m = int((S-h*3600)/60)
s = int(S-h*3600-m*60)
print('{}:{}:{}'.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:
integer=int(input())
hour=integer//3600
integer=integer%3600
min=integer//60
integer=integer%60
print(str(hour)+':'+str(min)+':'+str(integer))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

h = str(m // 60)
m = str(m % 60)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
hour minutes second
"""
def main():
    x=int(input())
    h=int(x/3600)
    m=int((x-3600*h)/60)
    s=x-h*3600-m*60
    print('{0}:{1}:{2}'.format(h,m,s))
    
if __name__=="__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())
seconds=S%60
hours=(S//60)//60
minuits=((S//60)%60)
print(str(hours)+":"+str(minuits)+":"+str(seconds))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = int(input())
h, i = divmod(i, 60*60)
m, s = divmod(i, 60)
print(f'{h}:{m}:{s}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

#hour
h = n // 3600

#minute
m = (n%3600)//60

#second
s = (n%60)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

h = str(h)
m = str(m)
s = str(s)
c = ":"

ans = h + c + m + c + s
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = int(input())
second = i % 60
j = (i-second) // 60
minute = j % 60
k = (j-minute) // 60
print(f'{k}:{minute}:{second}')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
data=int(input())

h=int(data/3600)
data=data%3600

m=int(data/60)
data%=60

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# watch.py
allseconds = int(input())
seconds = allseconds % 60
allminutes = int(allseconds / 60)
minutes = int(allminutes % 60)
hours = int(allminutes / 60)
print('{}:{}:{}'.format(hours, minutes, seconds))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

Solution code:
t = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ss = int(input())

h = str(ss //3600)
m = str(int(ss/60) %60)
s = str(ss %60)


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

Submission status: Accepted

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

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)
print("{0}:{1}:{2}".format(h,m,s) )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())
h=int(S/3600)
S=S%3600
m=int(S/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,sep=":")

Submission status: Accepted

Solution code:
import datetime
def get_h_m_s(td):
    m, s = divmod(td.seconds, 60)
    h, m = divmod(m, 60)
    return h, m, s
    
num = int(input())
td = datetime.timedelta(seconds = num)
h, m, s = get_h_m_s(td)
print(str(h) + ':' + str(m) + ':' + str(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

num_s = int(s)

sec = num_s%60
all_min = int((num_s - sec) / 60)
mi = all_min%60
hour = int((all_min - mi)/60)

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

Submission status: Accepted

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

# http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_1_D

if __name__ == '__main__':
    S = int(raw_input())
    h = S / 3600
    m = (S % 3600) / 60
    s = S % 60
    print "%d:%d:%d" % (h, m, s)

Submission status: Accepted

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

h = int // 3600
h_mod = int % 3600

m = h_mod // 60
s = h_mod % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()

b = int(a) // 3600


c = int(a) - b * 3600

d = c // 60

e = int(a) - b * 3600 - d * 60

print(str(b) + ":" + str(d)+":" +str(e))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
h, mod = divmod(x, 3600)
m, s = divmod(mod, 60)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sec = int(input())
hour = sec // (60*60)
remain_sec = sec - hour * 60 * 60
minutes = remain_sec // 60
sec = remain_sec % 60
print(str(hour) + ":" + str(minutes) + ":" + str(sec))

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

Submission status: Accepted

Solution code:
# coding: utf-8
S = int(input())
s = S % 60
S = int((S - s )/ 60) 
m = S % 60
h = int((S - m)/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:
s=int(input())

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

l=[h,m,sec]

print(':'.join(map(str,l)))

Submission status: Accepted

Solution code:
i = int(input())

h, rest = divmod(i, (60*60))
m, s = divmod(rest, 60)
print(f'{h}:{m}:{s}')

Submission status: Accepted

Solution code:
#秒単位の時間 S が与えられるので、h:m:s の形式へ変換して出力してください。ここで、h は時間、m は 60 未満の分、s は 60 未満の秒とします。
#Input
#S が１行に与えられます。
#Output
#h、m、s を :（コロン）区切りで１行に出力してください。数値が１桁の場合、0 を付けて２桁表示をする必要はありません。

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())
print('%d:%d:%d'%(s//3600, s%3600//60, s%3600%60))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sec = int(input())

h, mod1 = divmod(sec, 3600)
m, s = divmod(mod1, 60)

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

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

a = x // 3600
b = x % 3600
c = b // 60
d = b % 60

print("%d:%d:%d" % (a,c,d))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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())
print('%d:%d:%d' % (s // 3600, (s % 3600) // 60, s % 60))

Submission status: Accepted

Solution code:
i = int(input())

h = i // 3600
mod3600 = i % 3600
m = mod3600 // 60
s = mod3600%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 = eval(input())
second = s % 60
totalSecond = s // 60

minute = totalSecond % 60
totalMinute = totalSecond // 60

hour = totalMinute % 60
print(f'{hour}:{minute}:{second}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ss = int(input())
h = ss // 3600
m = (ss - h*3600) // 60
s = ss % 60
t =':'.join([str(n) for n in [h,m,s]])
print(t)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
second = int(input())
minute = second//60
hour = minute//60
print(str(hour) + ':' + str(minute % 60) + ':' + str(second % 60))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def convert_time_format(seconds:int) -> str:
    if seconds < 0:
        raise ValueError('Paramter seconds is less than 0.')
    if seconds > 86400:
        raise ValueError('Parameter seconds is larger than 86400')

    min = int(seconds / 60)
    sec = seconds % 60
    hour = int(min / 60)
    min = min % 60

    return '{0}:{1}:{2}'.format(hour, min, sec)

if __name__ == "__main__":
    seconds = input()
    print(convert_time_format(int(seconds)))

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:

time = int(input())
hh = time // 3600
time = time % 3600
mm = time // 60
ss = time % 60
print('{}:{}:{}'.format(hh, mm, ss))

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:
second = int(input())
hour = second // (60 * 60)
second -= hour * 60 * 60
minite = second // 60
second -= minite * 60
print(hour,end=':')
print(minite,end=':')
print(second)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

print(str(S//3600)+":"+str((S%3600)//60)+":"+str((S%3600)%60))

Submission status: Accepted

Solution code:
import sys

seconds = int(sys.stdin.read())
minutes, s = divmod(seconds, 60)
h, m = divmod(minutes, 60)

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

Submission status: Accepted

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

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:
li = list(map(int,input().split()))

time = li[0]
h = int(time/3600)
time = time%3600
m = int(time/60)
time = time%60
s = time

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

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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