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

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

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

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

Solution (Python):
import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

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

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


hour = sec//3600
min = (sec%3600)//60
sec = (sec%3600)%60
print(str(hour)+':'+str(min)+':'+str(sec))

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

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

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

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

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

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

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

Solution (Python):
S = int(input())
M = 0
H = 0
if S >= 60:
    M = S // 60
    S = S % 60
    if M >= 60:
        H = M // 60
        M = M % 60
print(':'.join(map(str, [H, M, S])))

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

Solution (Python):
import sys

s = int(sys.stdin.readline())
h = s // 3600
s %= 3600
m = s // 60
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):


def resolve():
    s = int(input())

    c = []
    for i in range(2):
        a, b = divmod(s, 60)
        s = a
        c.append(str(b))
    c.append(str(a))
    c.reverse()
    print(":".join(c))

if __name__ == "__main__":
    resolve()

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 = 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):
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):
n = int(input())
print(n // 3600, end = ":")

print((n % 3600) // 60, end = ":")
print(n % 60)

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

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


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

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

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

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 - (3600 * h)) // 60
s = t - (h * 3600) - (m * 60)
print(str(h)+":"+str(m)+":"+str(s))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

h, t=divmod(S, 3600)
t, s=divmod(t, 60)

a=str(h)+":"+str(t)+":"+str(s)
print(a)

Solution (Python):
x = int(input())
print(x//3600,':', x%3600//60,':', x%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):
import math

S = input()

sec = int(S)

h = math.floor(sec / 3600)
m = math.floor((sec - (h * 3600)) / 60)
s = math.floor(sec - (h * 3600) - (m * 60))

hms = [str(h), str(m), str(s)]

strhms = ':'.join(hms)

print(strhms)

Solution (Python):
S = int(input())
hour = 60 * 60
minutes = 60

h_count = 0
m_count = 0

while True:
    if  S - hour >= 0:
        h_count += 1
        S = S - hour
    else:
        h = h_count
        break

while True:        
    if S - minutes >= 0:
        m_count += 1
        S = S - minutes
    else:
        m = m_count
        s = S
        break

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

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

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

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

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

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

Solution (Python):

s = int(input())

hour = int(s / (60 * 60))
min = int((s / 60) % 60)
sec = int(s % 60)

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

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

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

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

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
time = time - h*3600
m = time / 60
time = time - m*60
print(str(h) +  ":" + str(m) + ":" + str(time))

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

Solution (Python):
hour = 3600
m = 60
s = 60

time = int(input())
one = time // hour
temp = time - one*hour
two = temp // m
three = temp - two*s
print("%s:%s:%s"%(one,two,three))

Solution (Python):
S = int(input())
hour = S // 3600
minute = S % 3600 // 60
second = S % 3600 % 60

print('%d:%d:%d' %(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):
import math

a = int(input())
s = a % 60
aa = math.floor(a / 60)
m = aa % 60
h = math.floor(aa / 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())
m, s = divmod(S, 60)
h, m = divmod(m, 60)
print("{0}:{1}:{2}".format(h, m, s))

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

Solution (Python):

S = int(input())

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

Solution (Python):
s = int(input())
print(int(s//3600),int((((s/3600)%1)*60)//1),int(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):
x = int(input())
a = x//3600
b = (x%3600)//60
c = x%60
print("%d:%d:%d" %(a, b, c))

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

h, m = divmod(S, 60*60)
m,s = divmod(m, 60)
print("%d:%d:%d" %(h,m,s))

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

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

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

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

Solution (Python):
import sys

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(f"{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):
def num2hms(num):
    hunit = 3600
    munit = 60
    h = num // hunit
    num = num % hunit
    m = num // munit
    num = num % munit
    s = num
    return str(h) + ":" + str(m) + ":" + str(s)

if __name__ == "__main__":
    num = input()
    num = int(num)
    print(num2hms(num))

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

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

Solution (Python):



a = input()
a = int(a)
h = int(a/60/60)
m = int((a-60*60*h)/60)
s = a %60

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

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):
given_second = int(input().rstrip())
minute = given_second // 60
hour = minute // 60
minute = minute % 60
second = given_second % 60
print(hour, minute, second, sep=":")

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

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

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

h = S//3600
S_dash = S - h*3600
m = S_dash//60
s = S_dash - m*60

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

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

Solution (Python):
S = int(input())
hours = S // 3600
minutes = (S % 3600) // 60
seconds = (S % 60)
print(str(hours) + ':' + str(minutes) + ':' + str(seconds))

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

Solution (Python):
from collections import deque
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

def main():
    alls = int(input())
    allm, s = divmod(alls, 60)
    h, m = divmod(allm, 60)
    print("{}:{}:{}".format(h, m, s))

main()

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

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

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

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

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

if 0 <= time and time <= 86400:
    h = time // 3600
    m = (time % 3600) // 60
    s = (time % 3600) % 60
    print(str(h) + ":" + str(m) + ":" + str(s))

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

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

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

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

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

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

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

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

seconds = raw
minutes = 0
hours = 0

if seconds >= 60:
    minutes = raw // 60
    seconds = raw % 60

    if minutes >= 60:
        hours = minutes // 60
        minutes = minutes % 60

print("%d:%d:%d" % (hours, minutes, seconds))

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

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

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

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

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

h,m,s = str(h),str(m),str(s)

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

Solution (Python):
S = int(input().strip())
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())
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())

m, s = divmod(S, 60)
h, m = divmod(m, 60)

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

Solution (Python):

S=int(input())
h=S//3600
tempS1=S%3600
m=tempS1//60
s1=tempS1%60
print(h,m,s1,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 = int(S/(60*60))
m = int((S-(h*60*60))/60)
s = S-int((h*60*60)+(m*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())
if 0<=S<86400:
    h=S//3600
    S=S%3600
    m=S//60
    s=S%60
    
    print(str(h)+":"+str(m)+":"+str(s))

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

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

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

Solution (Python):
import math

S = int(input())
if S>= 3600:
    h = math.floor(S/3600)
    m = math.floor((S%3600)/60)
    s = math.floor((S%3600)%60)
elif S < 3600 and S >= 60:
    h = 0
    m = math.floor(S/60)
    s = math.floor(S%60)
else:
    h = 0
    m = 0
    s = S
a= str(h)+":"+str(m)+":"+str(s)
print(a)

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

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

Solution (Python):
n=int(input())
hours=n//3600
n%=3600
mins=n//60
n%=60
secs=n
print(str(hours)+':'+str(mins)+':'+str(secs))

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

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

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

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

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


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

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

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

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

Solution (Python):
time =int(input(""))
hours = time//3600
minutes = time%3600//60
second = time%60
print(f"{hours}:{minutes}:{second}")

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

Solution (Python):
def mod(a, b):
    q = a // b
    mob = a % b
    return (q, mob)


h, t2 = mod(int(input()), 60 * 60)
m, s = mod(t2, 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(str(h)+':'+str(m)+':'+str(s))

Solution (Python):
import sys

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

Solution (Python):
def watch(ss):
    s = ss
    m = s // 60
    s = s % 60
    h = m // 60
    m = m % 60
    return (h,m,s)

ss = int(input())
(h,m,s) = watch(ss)
print(str(h)+':'+str(m)+':'+str(s))

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

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

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

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

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

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

hour = l//3600
minute = l%3600//60
seconds = l%3600%60

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

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

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

Solution (Python):
    
t = input()

h = t / 3600
t -= h * 3600

m = t / 60
t -= m * 60

s = t

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

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

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

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

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

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

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

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

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

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

Solution (Python):
def toStr(i):
    if i < 10:
        return "0" + str(i)
    else:
        return str(i)

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

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

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

if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
A = int(input())
H = int(A/3600)
M = int((A % 3600)/60)
S = int((A % 3600% 60))
print(f'{H}:{M}:{S}')

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

s=int(input())

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

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

Solution (Python):
n = int(input())
import math
minutes = math.floor(n / 60)
seconds = str(n % 60)
hours = math.floor(minutes / 60)
minutes =str(minutes - hours * 60)
hours = str(hours)
print(hours + ":" + minutes + ":" + seconds)

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

h = s//3600

m = s%3600//60

s = s - h * 3600 - m * 60

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

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

hour = n//3600
n -= hour*3600
minute = n//60
n -= minute*60
print(str(hour)+":"+str(minute)+":"+str(n))

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

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

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

m=s//60
s%=60

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

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

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

h = second // 3600
m = (second -3600*h) // 60
s = second - h*3600 - m*60
answer = str(h)+":"+str(m)+":"+str(s)

print(answer)

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

print('{}:{}:{}'.format(sec//3600, (sec%3600)//60, sec%60))

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
a=int(input())
hours=a//3600
minites=a%3600//60
times=a-hours*3600-minites*60
print(hours, end=":");print(minites, end=":");print(times)

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

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

if S<60:
  print("0:0:"+str(S))
elif S>=60 and S<3600:
  m=int(S/60)
  s=int(S%60)
  print("0:"+str(m)+":"+str(s))
elif S>=3600:
 h=int(S/3600)
 S=int(S-h*3600)
 m=int(S/60)
 s=int(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())
   
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())
 
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())
print("{}:{}:{}".format(s // 3600, s % 3600 // 60, s % 60))

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

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

h, m = divmod(S, 3600)
m, s = divmod(m, 60)

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

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

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

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

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

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

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

Solution (Python):
S = int(input())
h=0
m=0
s=0

for i in range(S//3600):
    h=h+1
S=S-h*3600
for i in range(S//60):
    m=m+1
S=S-m*60
for i in range(S):
    s=s+1
    
print(h,m,s,sep = ':')

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

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

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

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

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

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

m = s // 60
s %= 60

h = m // 60
m %= 60

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

Solution (Python):

S = int(input())
if S < 60:
    print("0:0:",S,sep='')
elif S < 3600:
    print("0:",int(S/60),":",S%60,sep='')
else:
    print(int(S/3600),":",int((S%3600)/60),":",(S%60)%60,sep='')

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

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

Solution (Python):
a = int(input())
hour = a // 3600
amari1 = a - hour * 3600
minute = amari1 // 60
second = amari1 % 60
print('{}:{}:{}'.format(hour,minute,second))

Solution (Python):
import math

S = int(input())

h = math.floor(S / 3600)
m = math.floor((S % 3600) / 60)
s = S % 60

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

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

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

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

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

Solution (Python):
sec1 =int(input())
hour, min1 = divmod(sec1,3600)
min2, sec2=divmod(min1,60)
print(hour,min2,sec2,sep=":")