Problem:


  MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});

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



Sample input:
46979


Sample output:
13:2:59

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
h = int(s/3600)
m = int((s - h*3600) / 60)
s = int(s - (h*3600 + m*60))
print(h,end = ":")
print(m,end = ":")
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
second = int(input())
h = second // (60 * 60)

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

Submission status: Accepted

Solution code:
number = int(input())
hour = number // 3600
minute = number % 3600 // 60
second = number % 60
print(hour, minute, second, sep=':')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())
b=a//3600
c=(a-b*(3600))//60
d=a-b*(3600)-c*60
#print(b,":",c,":",d)
print("{0}:{1}:{2}".format(b,c,d))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = int(input())
h = int(a/3600)
m = int((a-(h*3600))/60)
s = int(a-(h*3600)-(m*60))
print(h, end=":")
print(m, end=":")
print(s)

Submission status: Accepted

Solution code:
x = int(input())

m = int(x/60)
s = x%60
if m < 60:
    h = 0
else:
    h = int(m/60)
    m = m%60
print(h,":",m,":",s,sep='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
    s = int(input())
    h = s // 60**2
    m = (s-h*60**2)//60
    s -= h*(60**2)+m*60
    print(":".join(list(map(str,[h,m,s]))))
    return 0

if __name__ == "__main__":
    solve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

H = x // 3600
x = x % 3600

M = x // 60
S = x % 60

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

Solution code:
sec = int(input())
hr = int(sec/3600)
mi = int((sec%3600)/60)
sd = int((sec%3600)%60)

print(f"{hr}:{mi}:{sd}")

Submission status: Accepted

Solution code:
time=int(input())

hour=int(time/3600)
minutes=int((time%3600)/60)
second=time%60
print(str(hour)+":"+str(minutes)+":"+str(second))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input() )

h = s // 3600

s = s - h*3600

m = s // 60

s = s - m*60

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

Submission status: Accepted

Solution code:
x=int(input())

Ha = x%3600

H1=x-Ha
H=H1//3600


Ma = Ha%60
M1 = Ha-Ma
M = M1//60

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
t=input()
print(int(int(t)/3600),":",int(int(t)%3600/60),":",int(int(t)%3600%60),sep='')

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

Solution code:
t = int(input())
h=0
m=0
while t >= 3600:
    t-=3600
    h+=1
while t >=60:
    t-=60
    m+=1
print(h,m,t,sep=":")

Submission status: Accepted

Solution code:
sec=int(input())

h,r=divmod(sec,3600)
m,r=divmod(r,60)
s=r
print(str(h)+":"+str(m)+":"+str(s))

Submission status: Accepted

Solution code:
s = int(input())

ss = s%60
mm = (s/60)%60
hh = (s/3600)%60

print('%d:%d:%d' % (hh, mm, ss))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

num = int(input())

hour = math.floor(num/3600)
minute = math.floor(num/60) - hour * 60
sec = num - (hour * 3600) - (minute * 60)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())

s=int(S%60)#秒60以下のあまり
ml=int(S//60)#分(60以上の可能性あり)

h=int(ml//60)#時間
m=int(ml%60)#分60以下

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#演習　１－４
a = int(input())
b = a//3600
c = a%3600 // 60
d = a % 3600 % 60
print(b,c,d, sep=":")

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

Solution code:
S = int(input())
h, m = divmod(S, 3600)
m, s = divmod(m, 60)
print(f'{h}:{m}:{s}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
time = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
h, s = divmod(s, 3600)
m, s = divmod(s, 60)
print('{}:{}:{}'.format(h, m, s))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=int(input())


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x =int(input())
s =x%60
m =x//60%60
h =x//60//60%60
print(h,end=':')
print(m,end=':')
print(s)

Submission status: Accepted

Solution code:
S =int(input())


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

m = S - S//3600*3600

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

h = tmp // 3600
tmp = tmp % 3600

m = tmp // 60
tmp = tmp % 60

s = tmp

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

Solution code:
import sys



x = int(input())

h = x //3600

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

s = (x % 3600) % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
hh = int(s / 3600)
mm = int((s % 3600) / 60)
ss = s % 60

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

Solution code:
sec = int(input())

min = sec//60

s = sec%60

h = min//60

m = min%60

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

Submission status: Accepted

Solution code:
S =int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sb = int(input())
h = sb // 3600
hsb = sb%3600
m = hsb // 60
ss = hsb % 60
print("{}:{}:{}".format(h,m,ss))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())


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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
sec = int(input())

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

Solution code:
#4
t = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a = int(input())

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# S = (int(x) for x in input().split())
S = int(input())
h = S / 3600
S %= 3600
m = S / 60
S %= 60
print(str(int(h)) + ":" + str(int(m)) + ":" + str(int(S)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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