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

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

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

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

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

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

print(t // 3600, t // 60 % 60, t % 60, sep = ':')

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

Solution (Python):
def test():

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

if __name__ == "__main__":
	test()

Solution (Python):


s = int(input())
hh = s // 3600
xx = s % 3600
mm = xx // 60
ss = xx % 60
print('{0}:{1}:{2}'.format(hh, mm, ss))

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

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

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

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

print(':'.join([str(hoge) for hoge in [h, m, s]]))

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

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

h = S // 3600

time = S % 3600

m = time // 60

s = time % 60

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

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

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

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

Solution (Python):
ss = int(input())
hour = ss // 60**2
second = ss % 60**2
minute = second // 60
second = second % 60
print('{}:{}:{}'.format(hour, minute, second))

Solution (Python):
S = int (input())
hh = S //3600
S -= hh *3600

mm = S // 60
ss = S - mm * 60
print(hh,mm,ss, sep=':')

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

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

ss = s % 60
mm = s // 60
hh = mm // 60
mm = mm % 60

print('{}:{}:{}'.format(hh, mm, ss))

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

ss = s % 60
mm = s // 60
hh = mm // 60
mm = mm % 60

print('{}:{}:{}'.format(hh, mm, ss))

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

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

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

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

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

d = b % 60
e = b // 60
print("{0:01}:{1:01}:{2:01}".format(c,e,d))

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

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

Solution (Python):
import sys
import math
x = int(sys.stdin.readline())
seconds = x % 60
minutes = math.floor(x / 60) % 60
hour = math.floor(math.floor(x / 60) / 60)
print(hour, ':', minutes, ':', seconds, sep='')

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

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

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

hour = int(second/3600)
min = int(second/60)-hour*60
second = second - hour*3600 - min*60
print(hour,":",min,":",second,sep='')

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):

S=int(input())

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

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

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

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

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

h = s//3600
s -= h*3600

m = s//60
s -= m*60

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

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

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

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

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

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

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

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

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

if number>=3600:
    if number>=3660:
        h=number//3600
        m=(number-h*3600)//60
        s=(number-h*3600)-m*60
    else:
        h=number//3600
        m=0
        s=(number-h*3600)
        pass
else:
    if number>=60:
        h=0
        m=number//60
        s=number-m*60
    else:
        h=0
        m=0
        s=number
print(str(h)+":"+str(m)+":"+str(s))

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

Solution (Python):
s = int(input())
h, reminder = divmod(s,3600)
m, s = divmod(reminder,60)     
print(str(h) + ":" + str(m) +":" + str(s))

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

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

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

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

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

Solution (Python):
x=int(input())
a=int(x/3600)
b=int((x-a*3600)/60)
c=x - a*3600 - b*60

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

Solution (Python):
n = int(input())
byou = n % 60
hun = n % 3600 // 60
jikan = n // 3600

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

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

print('%d:%d:%d' %(sec/3600 , sec/60%60 , sec%60))

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

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

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

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

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

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

s = T

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

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

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

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

Solution (Python):
x=int(input())
a=int(x/3600)
b=int((x-a*3600)/60)
c=x - a*3600 - b*60

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

Solution (Python):
a=int(input())
b=int(a/3600)
c=int((a-b*3600)/60)
d=a-b*3600-c*60

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

Solution (Python):


s = int(input())

h = s // 3600
s = s - 3600 * h

m = s // 60
s = s - 60 * m

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

Solution (Python):
S = int(input())
H = 0
M = 0
byou = 0
H = S//3600
S = S-(3600*H)
M = S//60
S = S-(60*M)
byou = S
print(str(H)+":"+ str(M) +":"+str(byou))

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

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

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

Solution (Python):


S = int(input())

s = S % 60

m = (S//60) % 60

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

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

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

print(ans)

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

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

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

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

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

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

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

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

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

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

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

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

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 // (60 * 60)
m = (S % (60*60)) // 60
s = S % 60

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

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

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

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

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

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

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

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

h = time // 3600

time = time - 3600 * h

m = time // 60

time = time - 60 * m

s = time

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

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

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

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

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

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

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

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


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

Solution (Python):
def watch():

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

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

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


watch()

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

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

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

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

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

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

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

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

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

print(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):
import datetime

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

hh = 0
mm = 0
ss = 0

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

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

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

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

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

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

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

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

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

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

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

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

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

time = [0,0,0]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


h = n // 3600


m = (n%3600)//60


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

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

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

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

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

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

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

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

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

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

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

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

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

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

print(s//3600, (s%3600)//60 , s%60, sep=':')

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

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

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

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

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

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

Solution (Python):

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

Solution (Python):

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

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

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

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

Solution (Python):


import sys


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

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

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

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

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

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

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

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

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


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

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 = int(S / 3600)
m = int( ( S - ( h * 3600 ) ) / 60 )
s = int(S- h*3600 - m*60)
print("{0}:{1}:{2}".format(h,m,s) )

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

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

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

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

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

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

num_s = int(s)

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

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

Solution (Python):





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

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

h = int // 3600
h_mod = int % 3600

m = h_mod // 60
s = h_mod % 60

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
a = input()

b = int(a) // 3600


c = int(a) - b * 3600

d = c // 60

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

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

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

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

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

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

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

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