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

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

Solution (Python):
s = int(input())

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

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

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

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

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

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

Solution (Python):


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

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

Solution (Python):
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))

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

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

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

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

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

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

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

Solution (Python):

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

Solution (Python):
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=":")

Solution (Python):


s=int(input())

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

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

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

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

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

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

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

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

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

Solution (Python):
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))

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

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

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

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

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

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

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

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

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

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

Solution (Python):



S = int(input())

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

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

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

Solution (Python):
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 = ':')

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

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

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

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

Solution (Python):
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)

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

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

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

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

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

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

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

Solution (Python):
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}')

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

Solution (Python):
input = int(input())

h = int(input / 3600)

m = int(input % 3600 / 60)

s = int(input % 3600 % 60)

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

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

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

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

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

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

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

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

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

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

Solution (Python):
x = int(input())

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

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

Solution (Python):
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))

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

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

Solution (Python):
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()

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

Solution (Python):
import fileinput

s = int(input())

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

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

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

Solution (Python):
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=":")

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

Solution (Python):
sec=int(input())

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

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

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

Solution (Python):


S=int(input())

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

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

Solution (Python):
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)

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

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

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

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

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

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

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

Solution (Python):
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))

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

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

Solution (Python):
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}")

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

Solution (Python):
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=":")

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

Solution (Python):
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))

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

Solution (Python):
a=int(input())
hour=divmod(a,3600)
minute=divmod(hour[1],60)
print(hour[0],minute[0],minute[1],sep=":")

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

Solution (Python):
s=int(input())

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

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

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

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

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

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

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

print(str(a) + ':' + str(b) + ':' + str(c))

Solution (Python):
S=int(input())
print(str(S//3600)+":"+str((S%3600)//60)+":"+str((S%3600)%60))

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

Solution (Python):
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='')

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

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

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

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

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

Solution (Python):
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()

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

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

Solution (Python):
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))

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

Solution (Python):

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

Solution (Python):
s = int(input())

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

Solution (Python):
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=":")

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

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

Solution (Python):
N=int(input())

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

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

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

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

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

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

Solution (Python):
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

Solution (Python):
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

Solution (Python):
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

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

Solution (Python):
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))

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

Solution (Python):
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=":")

Solution (Python):
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))

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

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

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

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

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

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

Solution (Python):


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

Solution (Python):
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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
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)

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

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

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

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

Solution (Python):



S = int(input())

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

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

Solution (Python):


a=int(input())
print((a//60)//60,(a//60)%60,a%60,sep=":")

Solution (Python):
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))

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

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

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

Solution (Python):
s = int(input())

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

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

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

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

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

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

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

Solution (Python):
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))

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

h = S // 3600
m = (S - h * 3600) // 60
s = (S - h*3600 - m*60)
print(f"{h}:{m}:{s}")

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

Solution (Python):
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))

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

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

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

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

Solution (Python):

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

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

Solution (Python):
s = int(input())
h = int(s / 3600)
hr = s % 3600

m = int(hr / 60)
s = hr % 60

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

Solution (Python):
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))

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

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

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

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

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

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

Solution (Python):
i = int(input())

h = i//3600

m = i%3600 //60

s = i%60

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

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

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

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

Solution (Python):
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}")

Solution (Python):
s = input()
h = s/3600
s = s%3600
m = s/60
s = s%60

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

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

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

Solution (Python):

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

Solution (Python):
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))

Solution (Python):
time = int(input())



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

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

Solution (Python):
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))

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

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

h = S // 3600
S %= 3600

m = S // 60
S %= 60

s = S

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

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

Solution (Python):
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}")

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

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



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

Solution (Python):
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=':')

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

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

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

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

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

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

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

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

Solution (Python):
s = int(input().rstrip())
a = str(s//60//60)+":"+str(s//60%60)+":"+str(s%60)
print(a)

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

Solution (Python):
time = int(input())
print(time//3600,':',(time%3600)//60,':',time%60,sep='')

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

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

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

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

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

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

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

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

Solution (Python):
time = int(input())
h = time//(60**2)
m = (time%(60**2))//60
s = (time%(60**2))%60

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

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

Solution (Python):
s = int(input())

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

Solution (Python):
input_s = int(input())

q, s = divmod(input_s, 60)
h, m = divmod(q, 60)

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

Solution (Python):
t = int(input())
sec = str(t % 60)
min = str((t//60)%60)
hour = str((t//60)//60)
print(hour+':'+min+':'+sec)

Solution (Python):
time = int(input())

times = time//60
second = time % 60
hour = times//60
minute = times % 60

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

Solution (Python):
print(":".join((lambda s:[str(s//3600),str((s//60)%60),str(s%60)])(int(input()))))

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

Solution (Python):
total_sec = int(input())
total_min = total_sec // 60

hour = str(total_min // 60)
min = str(total_min % 60)
sec = str(total_sec % 60)

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

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

h=S//3600

m=S%3600//60

s=S%3600%60

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

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

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

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

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

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

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

Solution (Python):
second = int(input())
h = str(second//3600)
rest1 = second%3600
m = str(rest1//60)
s = str(rest1%60)
print(h+":"+m+":"+s)

Solution (Python):
s = int(input())
hour = int(s / (60**2))
next_s = int(s % (60**2))
minut = int(next_s / 60)
second = int(next_s % 60)
print("{}:{}:{}".format(hour,minut,second))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):

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

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

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

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

Solution (Python):
import sys

def main():
  input = sys.stdin.readline().rstrip

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


if __name__ == '__main__':
  main()

Solution (Python):
N = int(input())

s = N%60
N = int((N-s)/60)

m = N%60
N = int((N-m)/60)

h = N

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

Solution (Python):
n = int(input())

h=int(n/3600)
m=int((n%3600)/60)
s=((n%3600)%60)
print(h,end=":")
print(m,end=":")
print(s)

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

Solution (Python):

ipt = int(input())
s = ipt % 60
tmp = ipt // 60
m = tmp % 60
tmp2 = tmp // 60
h = tmp2 % 60
print(h, m, s, sep=":")

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

Solution (Python):
i = int(input())
h, r = divmod(i, 3600)
m, s = divmod(r, 60)
print(h, m, s, sep=':')

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

Solution (Python):
seconds = int(input())

hour = seconds // 3600
minute = (seconds - 3600*hour) // 60
second = seconds - 3600*hour - 60*minute

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

Solution (Python):
s = int(input())

second = s % 60
s = s // 60
min = s % 60
hour = s // 60

print(f'{hour}:{min}:{second}')

Solution (Python):
import sys
S=input()
h=S/3600
ha=S%3600
m=ha/60
s=ha%60
print(str(h)+':'+str(m)+':'+str(s))

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

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

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

Solution (Python):
a=int(input())

h=a//3600
a1=a%3600
a2=a1%60
m=a1//60
s=a2
print(f"{h}:{m}:{s}")

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

Solution (Python):
s=int(input())
def watch(s):
    h=s//3600
    s-=h*3600
    m=s//60
    s-=m*60
    print(str(h)+":"+str(m)+":"+str(s))
watch(s)

Solution (Python):
s = int(input())

h = s//3600

s %= 3600
m = s//60

s %= 60

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

Solution (Python):
def test():
    n = int(input())

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

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

if __name__ == '__main__':
    test()

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

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

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

Solution (Python):
S=int(input())
hour=S/3600
ll=S%3600
minutes=ll/60
seconds=S%60
result=str(int(hour)) + ":" + str(int(minutes)) + ":" + str(int(seconds))
print(result)

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

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

Solution (Python):
s = int(input())

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

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

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

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

Solution (Python):
inp = input()
inp = int(inp)

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

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

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

Solution (Python):
s = int(input())

h = s / 3600
s %= 3600

m = s / 60
s %= 60

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

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

Solution (Python):
sec=int(input())

hh=0
mm=0
ss=0

while sec >= 3600:
    hh += 1
    sec -= 3600
    
while sec >= 60:
    mm += 1
    sec -= 60
    
ss = sec

print(hh, ':', mm, ':', ss, sep= '')

Solution (Python):
x=int(input())
hh=x//3600
x%=3600
mm=x//60
x%=60
ss=x
print(hh, ':', mm, ':', ss, sep= '')

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

Solution (Python):
sec=int(input())

hh=0
mm=0
ss=0

while sec>=3600:
    hh+=1
    sec-=3600
    
while sec>=60:
    mm+=1
    sec-=60

ss=sec

print(hh,':',mm,':',ss,sep='')

Solution (Python):
sec = int(input())

hh=0
mm=0
ss=0

while sec >= 3600:
     hh +=1
     sec -=3600

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

Solution (Python):
sec = int(input())

hh = 0 
mm = 0
ss = 0
while sec >= 3600:
     hh += 1
     sec -= 3600
     
while sec >= 60:
    mm += 1
    sec -= 60
    
ss = sec 

print(hh, ':', mm, ':' , ss, sep= '')

Solution (Python):
sec = int(input())

hh = 0
mm = 0
ss = 0

while sec >=3600:
    hh += 1
    sec -= 3600
    
while sec >= 60:
    mm += 1
    sec -= 60
    
ss = sec

print (hh, ':', mm, ':', ss, sep= '')

Solution (Python):
sec=int(input())

hh=0
mm=0
ss=0

while sec >= 3600:
    hh +=1
    sec -= 3600
    
while sec >= 60:
    mm += 1
    sec -=60
    
ss = sec

print(hh, ':', mm, ':', ss, sep='')

Solution (Python):
sec = int(input())

hh = 0
mm = 0
ss = 0

while sec >= 3600:
    hh += 1
    sec -= 3600
    
while sec >= 60:
    mm += 1
    sec -= 60
    
ss = sec 

print(hh, ':', mm, ':', ss, sep= '')

Solution (Python):
sec = int(input())

hh = 0
mm = 0
ss = 0

while sec >= 3600:
    hh += 1
    sec-= 3600
    
while sec >= 60:
    mm += 1
    sec -= 60
    
ss = sec

print(hh,':', mm,':',ss, sep= '')

Solution (Python):
sec = int(input())
hh = 0
mm = 0
ss = 0
while sec>=3600:
    hh+=1
    sec-=3600
    
while sec >=60:
    mm+=1
    sec-=60
ss=sec
print(hh,':',mm,':', ss, sep= '')

Solution (Python):
sec = int(input())

hh = 0
mm = 0
ss = 0 

while sec >= 3600:
    hh += 1
    sec -=3600
while sec >=60:
    mm += 1
    sec -=60

ss = sec 
print(hh, ':', mm, ':', ss, sep='')

Solution (Python):
sec=int(input())

hh=0
mm=0
ss=0

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

Solution (Python):
sec=int(input())
hh=0
mm=0
ss=0

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