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

s=int(S%60)
ml=int(S//60)

h=int(ml//60)
m=int(ml%60)

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

Solution (Python):
S = int(input())
S = S % (24*3600)
H = S // 3600
S %= 3600
M = S // 60
S %= 60

print(H,M,S, sep=':')

Solution (Python):
totalsec=int(input())
totalmin=totalsec//60
sec=totalsec%60
hour=totalmin//60
min=totalmin%60
print(str(hour) + ":" + str(min) + ":" + str(sec))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
S = int(input())
hh, mmss, = divmod(S, 3600)
mm, ss, = divmod(mmss, 60)
print("{}:{}:{}".format(hh, mm, ss))

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

Solution (Python):

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

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

print("{}:{}:{}".format( S//3600, S//60%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):
a=int(input())
b=[0,0,0]
b[0]=str(a//3600)
b[1]=str((a%3600)//60)
b[2]=str(a%60)
print(":".join(b))

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

print(f"{int(time/3600)}:{int((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(h, ':', m, ':', s, sep='')

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

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

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

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

Solution (Python):
s=int(input())
x=s//3600
y=(s-x*3600)//60
z=s%60
print(str(x)+':'+str(y)+':'+str(z))

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

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

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

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


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

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

m, s = divmod(x, 60)
h, m = divmod(m, 60)
print(f"{h}:{m}:{s}")

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

Solution (Python):
import sys


def I(): return int(sys.stdin.readline().rstrip())


def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))


def S(): return sys.stdin.readline().rstrip()


def LS(): return list(sys.stdin.readline().rstrip().split())


x = I()
s = x % 60
hm = x // 60
m = hm % 60
h = hm // 60
print(str(h)+':'+str(m)+':'+str(s))

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

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

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

m = S - S//3600*3600

print(str(S//3600)+":"+str(m//60)+":"+str(m-m//60*60))

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

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

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

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

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

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

s=S%60

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

Solution (Python):
sec = int(input())
min = sec // 60
hour = min // 60
print(f'{hour}:{min - hour * 60}:{sec - min * 60}')

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

h = tmp // 3600
tmp = tmp % 3600

m = tmp // 60
tmp = tmp % 60

s = tmp

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

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

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

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

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

h = divmod(i, 3600)
ms = divmod(h[1], 60)

print(h[0], ms[0], ms[1], sep=":")

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

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

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

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):
import sys



x = int(input())

h = x //3600

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

s = (x % 3600) % 60

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

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

if t > 3600:
    h = t // 3600
    ms = t % 3600
    if ms >= 60:
        m = ms // 60
        s = ms % 60
    else:
        m = 0
        s = ms    
elif t < 3600:
    h = 0
    m = t // 60
    s = t % 60
    if t < 60:
        h = 0
        m = 0
        s = t
else:
    h = 1
    m = 0
    s = 0

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

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

Solution (Python):
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())
hh = int(s / 3600)
mm = int((s % 3600) / 60)
ss = s % 60

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

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

Solution (Python):
s = input('')
s=int(s)
p=s/3600
x=p
p=int(p)
x=x-p

x=x*60

y=x
x=int(x)

y=s%60

z=y
s=p


print('{}:{}:{}'.format(s,x,z))

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

s = S%60
m = (S//60)%60
h = (S//60)//60
print(f"{h}:{m}:{s}")

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

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

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

min = sec//60

s = sec%60

h = min//60

m = min%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):
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):
sb = int(input())
h = sb // 3600
hsb = sb%3600
m = hsb // 60
ss = hsb % 60
print("{}:{}:{}".format(h,m,ss))

Solution (Python):
a = int(input())
b, c = divmod(a, 3600)
d, e = divmod(c, 60)
print(f"{b}:{d}:{e}")

Solution (Python):
import sys
 
sys.setrecursionlimit(10 ** 8)
input = sys.stdin.readline
 
def main():
    K = int(input())
    h = K / (60 * 60)
    m = (K % (60 * 60))/60
    s = K % 60
    print(str(int(h)) + ":" + str(int(m)) + ":" + str(int(s)))
 
if __name__ == '__main__':
    main()

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

Solution (Python):
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
se = S % 60

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

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

Solution (Python):

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

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


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

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

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

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

Solution (Python):
import math
import string
import collections
from collections import Counter
from collections import deque
from decimal import Decimal


def readints():
    return list(map(int, input().split()))


def nCr(n, r):
    return math.factorial(n)//(math.factorial(n-r)*math.factorial(r))


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not(item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n+1):
        if n % i == 0:
            divisor.append(i)
    return divisor



dx = [-1, -1, -1, 0, 0, 1, 1, 1]
dy = [-1, 0, 1, -1, 1, -1, 0, 1]
s = int(input())
h = s//3600
m = (s-(h*3600))//60
ss = s-(h*3600)-m*60
print(h, end='')
print(':', end='')
print(m, end='')
print(':', end='')
print(ss)

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

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

Solution (Python):
a=int(input())
b=a//(60*60)
c=(a-b*60*60)//60
d=a-b*60*60-c*60
print(b,c,d,sep=":")

Solution (Python):
S = int(input())
h = S//3600
m = (S % 3600)//60
s = S % 60
list = [str(h), str(m), str(s)]
result = ":".join(list)
print(result)

Solution (Python):
import sys

hms = int(sys.stdin.readline().rstrip("\n"))
h = hms // 3600
ms = hms % 3600
m = ms // 60
s = ms % 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):
sec = int(input())

h = sec // 3600
m = (sec - (h*3600)) // 60
s = sec - ((h*3600)+(m*60))
print(str(h) + ":" + str(m) + ":" + str(s))

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

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

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

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

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

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

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

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

Solution (Python):

t = int(input())

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

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

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

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

Solution (Python):


a = int(input())

print(a//3600, ':',(a%3600)//60, ':',(a%3600)%60, 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 % 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 // 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):
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):
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):
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(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):
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(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 = 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 = S % 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 % 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):
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):
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):
S = int(input())
H = 0
M = 0


while S >= 3600:
    S = S - 3600
    H = H + 1

while S >= 60:
    S = S - 60
    M = M + 1

print(str(H) + ":" + str(M) + ":" + str(S))

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

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

Solution (Python):

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

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

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

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

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

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

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

h = s//3600
m = (s%3600)//60
s = (s%3600)%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
S = S % 3600
m = S // 60
S = S % 60
s = S
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-h*3600)//60
s =S-(h*3600+m*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())
a = (S%3600)%60
b = (S%3600)//60
c = S//3600

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

h = int()
m = int()
s = int()

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

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

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

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

s = S % 60
M = S // 60

m = M % 60
h = M // 60

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

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

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

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

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

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

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

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

Solution (Python):
t = int(input())
h = str(t//3600)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):



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

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

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

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

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

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

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

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

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

print(result)

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):
sec = int(input())
h = sec//3600

print(sec//3600, (sec%3600)//60, (sec%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):
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 = 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**2)
m=(S%(60**2))//60
s=(S%(60**2))%60

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

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

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

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

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

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


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

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())
print(f"{S//3600}:{S%3600//60}:{S%60}")

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

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

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

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











h=S//3600

m=(S%3600)//60

s=(S%3600)%60



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

print(result)

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