Problem:


  MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});

Watch

Write a program which reads an integer $S$ [second] and converts it to $h:m:s$ where $h$, $m$, $s$ denote hours, minutes (less than 60) and seconds (less than 60) respectively.

Input

An integer $S$ is given in a line.

Output

Print $h$, $m$ and $s$ separated by ':'. You do not need to put '0' for a value, which consists of a digit.

Constraints

  
$0 \leq S \leq 86400$

Sample Input 1

46979

Sample Output 1

13:2:59



Sample input:
46979


Sample output:
13:2:59

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
int_input = int(input())
print(int_input//(60*24),":",(int_input//60)%24,":",int_input%60)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = int(input())
h = (s % 3600)
print(h)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()
a = x / 3600
b = a / 6
c = b * 60
print(str(a) + ":" + str(b) + ":" + str(c))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def getime(n):
    h = m = s = int()
    while n > 3600:
        n -= 3600
        h += 1
    while n > 60:
        n -= 60
        m += 1
    s = n
    return h, m, s

h,m,s = getime(int(input()))
print("{}:{}:{}".format(h,m,s))

Submission status: Wrong Answer

Solution code:
def getime(n):
    h = m = s = 0
    while n > 3600:
        n -= 3600
        h += 1
    while n > 60:
        n -= 60
        m += 1
    s = n
    return h, m, s

h,m,s = getime(int(input()))
print("{}:{}:{}".format(h,m,s))

Submission status: Wrong Answer

Solution code:
s = int(input())

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

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

Submission status: Wrong Answer

Solution code:
s = int(input())

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

output=""
if(h!=0):
   output+=str(h)
output+=":"
if(m!=0):
   output+=str(m)
output+=":"
if(s!=0):
   output+=str(s)

print(output)

Submission status: Wrong Answer

Solution code:
s = int(input())

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

output=""
output+=str(h)
output+=":"
output+=str(m)
output+=":"
output+=str(s)

print(output)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(input())

hour=int(a/3600)
min=int((a-hour*3600)/60)
sec=a-hour*3600-min*60

print(str(hour)+" "+str(min)+" "+str(sec))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())

print(x//3600,x/60%60,x/60,sep=" ")

Submission status: Wrong Answer

Solution code:
x=int(input())

print(x//3600,x/60%60,x/60, sep=" ")

Submission status: Wrong Answer

Solution code:
x=int(input())

print(x//3600,x/60%60,x/60, sep=",")

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

Solution code:
temp = int(input("Your number:"))


hour = temp//3600

min = (temp%3600)//60

sec = (temp%3600)%60

answer = str(hour)+":"+str(min)+":"+str(sec)

print(answer)

Submission status: Wrong Answer

Solution code:
S = int(input())
 
hour = S / (60*60)
min = S % (60*60) / 60
sec = S % 60

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

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

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

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

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

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

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

s = int(input('>'))
h = s//3600
m = (s%3600)//60
s = m%60

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

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

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

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

Submission status: Wrong Answer

Solution code:
s = int(46979)
h = int(s / (60*60))
s2 = int(s - h*(60*60))
m = int(s2 / 60)
s3 = int(s2 - m*60)
print(str(h) + ":" + str(m) + ":" + str(s3))

Submission status: Wrong Answer

Solution code:
import datetime
inputtime = int(input())
print(str(datetime.timedelta(seconds=inputtime)).replace('0', ''))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 != 0:
    h = i/3600
    i = i - 3600 * h
if i/60 != 0:
    m = i/3600
    i = i - 60 * m

print(h,":",m,":",i)

Submission status: Wrong Answer

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 != 0:
    h = int(i/3600)
    i = i - 3600 * h
if i/60 != 0:
    m = int(i/3600)
    i = i - 60 * m

print(h,":",m,":",i)

Submission status: Wrong Answer

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 < 1:
    h = int(i/3600)
    i = i - 3600 * h
if i/60 < 1:
    m = int(i/3600)
    i = i - 60 * m

print(h,":",m,":",i)

Submission status: Wrong Answer

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 < 1:
    h = int(i/3600)
    i = i - 3600 * h
if i/60 < 1:
    m = int(i/60)
    i = i - 60 * m

print(h,":",m,":",i)

Submission status: Wrong Answer

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 > 1:
    h = int(i/3600)
    i = i - 3600 * h
if i/60 > 1:
    m = int(i/60)
    i = i - 60 * m
    
s = str(h) + ":" + str(m) + ":" + str(i)

print(s)

Submission status: Wrong Answer

Solution code:
S = int(input())

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = int(input())

temp =  s % 60

m = (s - temp) / 60

temp =  m % 60

h = (m - temp) / 60

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

Submission status: Wrong Answer

Solution code:
s = 0
m = 0
h = 0


s = int(input())

temp =  s % 60

m = (s - temp) / 60

temp =  m % 60

h = (m - temp) / 60

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

Submission status: Wrong Answer

Solution code:
s = 0
m = 0
h = 0


s = int(input())

temp =  s % 60

m = (s - temp) / 60

s = m * 60

temp =  m % 60

h = (m - temp) / 60

m = h * 60

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

Submission status: Wrong Answer

Solution code:
s = 0
m = 0
h = 0

s = int(input())

temp =  s % 60

m = (s - temp) / 60

temp =  m % 60

h = (m - temp) / 60

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

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

Submission status: Wrong Answer

Solution code:
s = int(input())

h = s / 360

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

s = s - (h * 360) - (m * 60)

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

Submission status: Wrong Answer

Solution code:
a = input()
print(a*3600,60*a,a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


    print("suusii")
    
    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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = int(input())
h = S//3600
m = (S//60)-(S//3600)
s = S//60
a = str(h)
b = str(m)
c = str(s)
print("a:b:c")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
second = input()

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

Submission status: Accepted

Solution code:

s = int(input())

h = int(s/3600)

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

d = s - 3600*h-60*m


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

Submission status: Accepted

Solution code:
import sys


def main():
    sec = int(sys.stdin.readline())
    hour = int(sec / 3600)
    sec = sec % 3600
    minute = int(sec / 60)
    sec = sec % 60
    print("{0}:{1}:{2}".format(hour,minute,sec))
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
m = 0
h = 0

if s >= 60:
    m = int(s / 60)
    s = s % 60

if m >= 60:
    h = int(m / 60)
    m = m % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sec_in = int(input())

hour = int(sec_in / 3600)
minute = int((sec_in % 3600) / 60)
sec = int(sec_in % 60)

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

Submission status: Accepted

Solution code:
sec_in = int(input())

hour = sec_in // 3600
minute = (sec_in % 3600) // 60
sec = sec_in % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def time(s):
    h = s // 3600
    s = s - h * 3600

    m = s // 60
    s = s - m * 60
    return str(h), str(m), str(s)

def main():
    t = int(input())
    h, m, s = time(t)
    print('{}:{}:{}'.format(h,m,s))


main()

Submission status: Accepted

Solution code:
N = input()
target_second=int(N)
hour=target_second//3600
minute=target_second//60-hour*60
second=target_second%60
print(str(hour)+":"+str(minute)+":"+str(second))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

m = S // 60
s = S % 60

h = m // 60
m = m % 60

print(":".join(map(str, [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)
s -= h * 3600
m = int(s / 60)
s -= m * 60
print('{}:{}:{}'.format(h, m, s))

Submission status: Accepted

Solution code:
s = int(input())
sec = min = hour = 0
sec = s%60
if s >= 60:
    min = int(s/60)
    if min >= 60:
        hour = int(min/60)
        min = min%60
print(str(hour) + ':' + str(min) + ':' + str(sec))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
S = int(input())
m = (math.floor(S / 60))
h = (math.floor(m / 60))
print(str(h % 60) + ":" + str(m % 60) + ":" + str(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:
S = int(input())
m, s = divmod(S, 60)
h, m = divmod(m, 60)
print(h, m, s, sep=':')

Submission status: Accepted

Solution code:
s = input()
int_s = int(s)
hour = int_s//3600
hour_Surplus = int_s%3600
minute = hour_Surplus//60
sec = hour_Surplus%60

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

Solution code:
value = int(input())

h, value = value // 3600, value - (value//3600) * 3600
m, value = value //60, value - (value // 60) * 60
s = value 

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())


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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import datetime as d
a,b = d.timedelta(seconds=int(input())),d.datetime(1,1,1)
print((a+b).hour, (a+b).minute, (a+b).second, sep=':')

Submission status: Accepted

Solution code:
x = int(input())
h_m_s_split = lambda x: [x // 3600, x % 3600 // 60, x % 3600 % 60]

h_m_s_data = h_m_s_split(x)

print(str(h_m_s_data[0]) + ':' + str(h_m_s_data[1]) + ':' + str(h_m_s_data[2]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#hは時間,mは60未満の分,sは60未満の秒
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())

import math

h = math.floor(x/3600)
m = math.floor((x -h*3600)/60)
s = math.floor(x - h*3600 - m*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:
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:
x = int(input())

h = x // 3600
m = (x -h*3600)//60
s = x%60
print(h, m, s, sep=":")

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
total_sec = int(input())
h = int(total_sec / 3600)
last_seconds = total_sec % 3600
m = int(last_seconds / 60)
s = last_seconds % 60
print(f'{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:
from sys import stdin

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

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- h*3600)/60)
sec = S- h*3600-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(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:
a = int(input())
b = a // 3600
c = a - b * 3600
d = c // 60
A = a - b * 3600 + d * 60
B = A % 60
print(str(b) + ":" + str(d) + ":" + str(B))

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())
print('{}:{}:{}'.format(n//3600, n//60%60, n%60))

Submission status: Accepted

Solution code:
a=int(input())
hours=a//3600
minutes_num=a%3600
minutes=minutes_num//60
seconds=a%60
print(str(hours)+":"+str(minutes)+":"+str(seconds))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())
sec = time%60
min = (time//60)%60
hour = (time//60)//60

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
h=int(s/3600)
m=int((int(s)%3600)/60)
s=int(s)%60
print("{0}:{1}:{2}".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:
t = int(input())
print(str(t//3600)+':'+str(t%3600//60)+':'+str(t%60))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
n=int(s)
H=int(n/(60*60))
M=int((n-H*60*60)/60)
S=int(n-(H*60*60+M*60))
print(H,':', M,':', S,sep='')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())
a = S//(60*60)
b = (S-(a*60*60))//60
c = S-(a*60*60 + b*60)
print(a, ':', b, ':', c, sep='')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())
a=x//3600
b=(x-a*3600)//60
c=x-(a*3600+b*60)
print(a, ':', b, ':', c, sep='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

input = int(input())

hour = math.floor(input/3600)
input -= hour*3600

min = math.floor(input/60)
input -= min*60

sec = math.floor(input)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())
S = S % (24 * 3600)
hour = S // 3600
S %= 3600
minutes = S // 60
S %= 60
seconds = S
print("%d:%d:%d" % (hour, minutes, seconds))