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

Submission status: Accepted

Solution code:
moto = int(input())

jikan = moto // 3600
fun = moto % 3600 // 60
byou = moto % 60

print(str(jikan) + ":" + str(fun) + ":" + str(byou))

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())
h = t//(60*60)
o = t%(60*60)
m = o//60
o = o%60
print(str(h)+':'+str(m)+':'+str(o))

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

s = S % 60
M = S // 60

m = M % 60
h = M // 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def resolve():
    s = int(input())
    h,mod = divmod(s,3600)
    m,s = divmod(mod, 60)
    print(f"{h}:{m}:{s}")
    
if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# coding: utf-8
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())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a,":",b,":",c, sep="")

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

Submission status: Accepted

Solution code:
import math
S=int(input())

S1=S%60
M1=(S-S1)/60
M2=M1%60
H1=(M1-M2)/60

print(math.floor(H1),math.floor(M2),math.floor(S1),sep=":")

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
t=int(input())

h=t//3600
m=(t%3600)//60
s=(t%3600)%60
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:
sec = int(input())
h = (sec % (3600*24))//3600
m = (sec % 3600)//60
s = sec % 60
print(h,end=":")
print(m,end=":")
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:
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 = int(S//(60**2))
m = int((S-h*60*60)//60)
s = int(S-h*60*60-m*60)
print(str(h)+":"+str(m)+":"+str(s))

Submission status: Accepted

Solution code:



S = int(input())
s = S % 60
k = (S - s) / 60
m = k % 60
h = (k - m) / 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

result ='{0}:{1}:{2}'.format(S//3600, S%3600//60, S%3600%60)

print(result)

Submission status: Accepted

Solution code:
S = int(input())

h = int(S//3600)

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

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

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

Submission status: Accepted

Solution code:
sec = int(input())
h = sec//3600

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

Submission status: Accepted

Solution code:
S=int(input())

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

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

Submission status: Accepted

Solution code:
S=int(input())

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

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

Submission status: Accepted

Solution code:
S=int(input())

A=S//3600
B=(S-A*3600)//60
C=S-(A*3600+B*60)

print(f'{A}:{B}:{C}')

Submission status: Accepted

Solution code:
val = input()
second = int(val)

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


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

Submission status: Accepted

Solution code:
tim = int(input())

h, mod = divmod(tim, 3600)
m, mod = divmod(mod, 60)

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

Submission status: Accepted

Solution code:
S=int(input())

#print(S//3600,end="")

#print(end=":")

#print((S%3600)//60,end="")

#print(end=":")

#print((S%3600)%60,end="")

h=S//3600

m=(S%3600)//60

s=(S%3600)%60



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

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
S=int(input())
h = int(S/3600)
m = int((S%3600)/60)
s = int((S%3600)%60)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(str(h) + ':' + str(m) + ':' + str(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=S//(60*60)
m=S%(60*60)//60
s=S%(60*60)%60
print(f"{h}:{m}:{s}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:

S=int(input())

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

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

Submission status: Accepted

Solution code:
S=int(input())

if S>=3600:
    h=int(S/3600)
else:
    h=0

if (S-h*3600)>=60:
    m=int((S-h*3600)/60)
else:
    m=0

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
time = int(input())

if 0 <= time <= 86400:
    hour , rest = time // 3600, time % 3600
    min, sec = rest // 60, rest % 60
    print("%d:%d:%d" % (hour, min, sec))

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

S = int(input())

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

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

Submission status: Accepted

Solution code:
S=int(input())
A=S%60
B=S//60
C=B%60
D=B//60
print(str(D)+":"+str(C)+":"+str(A))

Submission status: Accepted

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

elif S >= 60:
    h = int(S / 3600)
    m = int(S / 60)
    s = S % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

h = int(input / 3600)

m = int(input % 3600 / 60)

s = int(input % 3600 % 60)

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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


if __name__ == "__main__":
    wa()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import fileinput

s = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())
import math
h = math.floor(S/3600)
m = math.floor((S%3600)/60)
s = (S%3600)%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:
sec=int(input())

hour = sec // 3600
min = (sec % 3600) // 60
sec = sec % 60

print(str(hour) + ':' + str(min) + ':' + str(sec))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
S=int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

h =int(S/3600)
M = S%3600
m = int(M/60)
sec = M%60

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

ha = x % 3600

h = (x - ha) / 3600

s = ha % 60

m = (ha - s) / 60

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())
hour=divmod(a,3600)
minute=divmod(hour[1],60)
print(hour[0],minute[0],minute[1],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())

x=s//3600
y=(s-3600*x)//60
z=s-(y*60+x*3600)
print(str(x)+':'+str(y)+':'+str(z))

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

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:
from sys import stdin

S = int(stdin.readline())

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

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:

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

Solution code:
a=int(input())

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

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

s=a

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

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

Submission status: Accepted

Solution code:
S=int(input())

if 0<=S<=86400:
    h=S//3600
    m=(S%3600)//60
    s=(S%3600)%60
    
    print(f'{h}:{m}:{s}')
else:
    pass

Submission status: Accepted

Solution code:
S=int(input())
if 0<=S<86400:
    h=int(S//3600)
    m=int((S%3600)//60)
    s=int((S%3600)%60)
    print(f'{h}:{m}:{s}')
    
else:
    pass

Submission status: Accepted

Solution code:
S=int(input())
if 0<=S<=86400:
    h=int(S//3600)
    m=int((S%3600)/60)
    s=int((S%3600)%60)
    print(f'{h}:{m}:{s}')
else:
    pass

Submission status: Accepted

Solution code:
import math

s = int(input())

h = math.floor(s/3600)
m = math.floor((s-h*3600)/60)
s = s - 3600*h - 60*m

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%60
print(f'{h}:{m}:{s}')

Submission status: Accepted

Solution code:
t = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

all_sec = int(input().rstrip())

hour = all_sec // (60 * 60)
all_sec %= (60 * 60)

minite = all_sec // 60
all_sec %= 60

second = all_sec

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


# <?php

# $all_sec = trim(fgets(STDIN));

# $hour = floor($all_sec / (60 * 60));
# $all_sec %=  (60 * 60);

# $minite = floor($all_sec / 60);
# $all_sec %=  60;

# $second = $all_sec;

# echo $hour . ":" . $minite . ":" . $second . PHP_EOL;

# ?>

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
t = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())

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


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

Submission status: Accepted

Solution code:
S = int(input())

hh = S//3600
mm = (S - hh * 3600) // 60
ss = S - hh * 3600 - mm * 60

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a=int(input())
print((a//60)//60,(a//60)%60,a%60,sep=":")

Submission status: Accepted

Solution code:
S = int(input())

H = int(S / 3600)
M = int((S-3600*H) / 60)
S = int((S-3600*H-60*M))
print('{}:{}:{}'.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:
i=int(input())
print(f"{i//3600}:{i%3600//60}:{i%60}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

a = int(input())

h = math.floor( a/3600 )
min = math.floor( (a%3600) /60 )
s = a%60

print(str(h) + ":" + str(min) + ":" + 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(f"{h}:{m}:{s}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())
hour=str(x//3600)
minitu=str(x//60%60)
time=x-int(hour)*3600-int(minitu)*60

print(hour+":"+minitu+":"+str(time))

Submission status: Accepted

Solution code:
t = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

s= int(input())

h = int(s/3600)
h_m = int(s%3600)
m=int(h_m/60)
m_s = int(h_m%60)

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
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())
a,b,c = [int(S/3600),int((S % 3600)/60),(S % 60)]
print(f"{a}:{b}:{c}")

Submission status: Accepted

Solution code:
i = int(input())

h = i//3600

m = i%3600 //60

s = i%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:
import math
S = input("")
h = math.floor(int(S)/3600)
m = math.floor(int(S)/60) - 60*h
s = int(S) - 3600*h - 60*m
print(f"{h}:{m}:{s}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:

t = int(input())
print(f"{t//3600}:{(t%3600)//60}:{t%60}")

Submission status: Accepted

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

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:
input_time = int(input())
hour = input_time // 3600
input_time = input_time % 3600

minute = input_time // 60
second = input_time % 60

time_list = [hour, minute, second]
time_list = map(str, time_list)
print(':'.join(time_list))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

h = S // 3600
S %= 3600

m = S // 60
S %= 60

s = S

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = S // 3600
m = S % 3600 // 60
s = S % 60

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