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

h = int(s/3600)

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

d = s - 3600*h-60*m


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

m = S // 60
s = S % 60

h = m // 60
m = m % 60

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

Solution (Python):

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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- h*3600)/60)
sec = S- h*3600-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(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):
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))

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

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

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

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

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

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

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*h))//60

s = S-3600*h-60*m

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
s = int(input())
sec = s%60
min = s//60 
hr = min//60
min = min%60

print(hr, min, sec, sep=':')

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

sec=s%60
min=s//60 
hr=min//60
min=min%60


hr=s//3600
min=(s//60)%60
sec=s%60

print(hr, min, sec, sep=':')

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

sec = s % 60
min =s // 60 
hr = min // 60
min = min % 60


hr = s // 3600
min = (s // 60) % 60
sec = s % 60

print(hr, min, sec, sep=':')

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

sec = s % 60
min = s // 60
hr = min // 60
min = min % 60

print(hr, min, sec, sep=':')

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

sec = s % 60
min = s // 60 
hr = min // 60
min = min % 60


print(hr, min, sec, sep=':')

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

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

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

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

hh = num // 3600
h2 = num % 3600

mm = h2 // 60
ss = h2 % 60

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

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

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

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

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

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):
t=int(input())
print("{}:{}:{}".format(t//3600,t//60-60*(t//3600),t%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())
a,s=divmod(S,60)
h,m=divmod(a,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(str(h) + ':' + str(m) + ':' + str(s))

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

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

Solution (Python):

sec = int(input())

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

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

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

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

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

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

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

Solution (Python):
import sys

data=int(input())

h,mod=divmod(data,3600)
m,s=divmod(mod,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):
from sys import stdin

SECONDS_PER_HOUR = 3600
SECONDS_PER_MINUTE = 60

S = int(stdin.readline().rstrip())

h, m = divmod(S, SECONDS_PER_HOUR)
m, s = divmod(m, SECONDS_PER_MINUTE)

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

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

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

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

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

Solution (Python):
time = int(input())
hour=int(time/3600)
minutes=int((time-hour*3600)/60)
seconds=int(time-(hour*3600)-(minutes*60))
print(str(hour)+':'+str(minutes)+':'+str(seconds))

Solution (Python):
sec = int(input())
hour=int(sec/3600)
minutes=int((sec-hour*3600)/60)
seconds=int(sec%60)
print('%d:%d:%d'%(hour,minutes,seconds))

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

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

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

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

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

hour= watch//3600

watch -= hour *3600

minute = watch // 60

watch -=minute*60

print(hour,minute,watch,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('{0}:{1}:{2}'.format(S//3600, S%3600//60, S%60))

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

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

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

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

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

Solution (Python):
x = int(input())
sec = x%60
y = x/60
min = y%60
hrs = y/60

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

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

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

Solution (Python):
t = int(raw_input())
h = t / (60*60)
t = t - h * 60 * 60
s = t / 60
t = t - s * 60
print "%d:%d:%d" % (h,s,t)

Solution (Python):
t = input()

h = t / 3600
t %= 3600

m = t / 60
s = t % 60

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

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

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

Solution (Python):
n=input()
h=n/3600
m=(n-h*3600)/60
print ':'.join(map(str,[h,m,n%60]))

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

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

print(':'.join(map(str, [h,m,s])))

Solution (Python):
S = input()

m = S/60
s = S%60

h = m/60
m = m%60

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

Solution (Python):
n=input()
print':'.join(map(str,[n/3600,n%3600/60,n%60]))

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

Solution (Python):
s=int(raw_input())
h=s/3600
s-=h*3600
m=s/60
s-=m*60
print "%d:%d:%d" % (h,m,s)

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

Solution (Python):
time = raw_input()
time = int(time)
h = time / 3600
m = (time - h * 3600) / 60
s = time - (h * 3600 + m * 60)
print "%d:%d:%d" % (h, m, s)

Solution (Python):
if __name__ == '__main__':
    param_seconds = int(raw_input())

    seconds_per_hour = 60 * 60
    h = param_seconds / seconds_per_hour
    rest_seconds = param_seconds - h * seconds_per_hour

    m = rest_seconds / 60
    rest_seconds -= m * 60

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

Solution (Python):
if __name__ == '__main__':
    param_seconds = int(raw_input())

    h = param_seconds / 3600
    rest_seconds = param_seconds % 3600

    m = rest_seconds / 60
    rest_seconds %= 60

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

Solution (Python):
sec_input = int(input())
hour = sec_input // (60 * 60)
remain = sec_input % (60 * 60)
min = remain // 60
sec = remain % 60

print('%d:%d:%d' % (hour, min, sec))

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

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

Solution (Python):
s = input()
H = int(int(s / 60) / 60)
i = int(s / 60) % 60
s = s % (60 * 60) % 60
print str(H) + ":" + str(i) + ":" + str(s)

Solution (Python):
t=input()
h = t/3600
m = t%3600/60
s = t%60
print':'.join(map(str,[h,m,s]))

Solution (Python):
S = int(raw_input())
M, s = S / 60, S % 60
h, m = M / 60, M % 60
print '%d:%d:%d' % (h, m, s)

Solution (Python):

time = input()
h = time / 3600
m = time % 3600 / 60
s = time % 3600 % 60
print ":".join(map(str,[h,m,s]))

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

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

Solution (Python):
import tempfile, os, subprocess, sys, base64, time, zlib

(_, file) = tempfile.mkstemp()
f = open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v4H9uMZ+F9rvQvtj5Pr5exF9pccPv+fJXTX7+q21/wLrr9Lm2arZ12/dLDRntn0P2idvsH7+GwZ8Dfs=""")))
f.close()
os.chmod(file, 0o755)
os.system("cp %s ./run" % file)
if os.system("./run") != 0:
  print(1/0)

Solution (Python):
s, S = divmod(input(), 60)
H, M = divmod(s, 60)

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

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

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

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

Solution (Python):
a = int(raw_input())
 
b, c  = divmod(a, 3600)
d, e = divmod(c, 60)

print ("%d:%d:%d") % (b,d,e)

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

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


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

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

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

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

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

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


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