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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = int(input())
b = int(a/60/60)
c = int((a - b * 3600) / 60)
d = int(a - b * 3600 - c * 60)
print(b, c, d, 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())
print(f'{s//3600}:{s%3600//60}:{s%60}')

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:
a=int(input())
print("%d:%d:%d"%(a/3600,(a%3600)/60,a%60))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=int(input())

hour,mod=divmod(S,3600)
minit,sec=divmod(mod,60)
print(str(hour)+":"+str(minit)+":"+str(sec))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

h = S // (60 * 60)
m = (S // 60) - (h * 60)
s =  S - ((h * 60**2) + (m * 60))

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

Submission status: Accepted

Solution code:
S = int(input())


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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

Solution code:
# AOJ ITP1_1_D-Watch
# Python3 2018.7.2 bal4u

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
hour = s // 3600
min = (s // 60) - (hour * 60)
sec = s - (min * 60) - (hour * 3600)
print (str(hour) + ":" + str(min) + ":" + str(sec))

Submission status: Accepted

Solution code:
S = int(input())

s = S % 60          #秒
m = (S // 60) % 60  #分
h = S // (60*60)    #時

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

Submission status: Accepted

Solution code:

try:
     (n)  =  int(input())
except:
    exit

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

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

Submission status: Accepted

Solution code:
s = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())

minutes, seconds = divmod(S, 60)
hours, minutes = divmod(minutes, 60)

print('{}:{}:{}'.format(hours, minutes, seconds))

Submission status: Accepted

Solution code:
s = int(input())

hour = s // 3600
min = s % 3600 // 60
sec = s % 3600 % 60

print(f'{hour}:{min}:{sec}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i=int(input())

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline
n = int(input())

h = int(n/60**2)
m = int((n%60**2)/60)
s = int(((n%60**2)%60)%60)

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

Submission status: Accepted

Solution code:
N = int(input())

seconds = N % 60
minutes = N // 60 % 60
hours = N // 60 // 60
print(str(hours) + ":" + str(minutes) + ":" + str(seconds))

Submission status: Accepted

Solution code:
# coding:utf-8

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = int(input())
S_ms = S % 3600
S_h = int((S - S_ms) / 3600)
S_s = S_ms % 60
S_m = int((S_ms - S_s) / 60)
print(str(S_h) + ":" + str(S_m) + ":" + str(S_s))

Submission status: Accepted

Solution code:
i = int(input())

s = i % 60
hm = i // 60
h = hm // 60
m = hm % 60
print(":".join(map(str, [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, end=':')
print(m, end=':')
print(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input = input()
i = int(input)
hour = i // 3600
min = i % 3600 // 60
sec = i % 60 % 60
print(f'{hour}:{min}:{sec}')

Submission status: Accepted

Solution code:
input = input()
i = int(input)
hour = i // 3600
min = i % 3600 // 60
sec = i % 60 % 60
print(f'{hour}:{min}:{sec}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print("{0}:{1}:{2}".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:
a=int(input())
h1=a//3600
h2=a%3600
m=h2//60
s=h2%60
h1=str(h1)
m=str(m)
s=str(s)
print(h1+":"+m+":"+s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
x = input()
h = math.floor(int(x) / 3600)
m = math.floor((int(x) % 3600) / 60)
s = int(x) % 60
print('%d:%d:%d'%(h, m, s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
a = x // 3600
b = (x - a * 3600) // 60
c = (x - a * 3600 - b * 60)
print('%d:%d:%d' % (a, b, c))

Submission status: Accepted

Solution code:
S = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
s1 =  s // 3600
s2 = (s%3600) // 60
s3 = s % 60
t1 =str(s1)
t2 = str(s2)
t3 =str(s3)
print(t1+":"+t2+":"+t3)

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

Submission status: Accepted

Solution code:
S = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
s=int(sys.stdin.readline())

hour=s//3600
minute=(s%3600)//60
sec=s%60
print(hour,minute,sec,sep=":")

Submission status: Accepted

Solution code:
a=int(input())
h=int(a/3600)
a%=3600
m=int(a/60)
a%=60
s=a
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("{}:{}:{}".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(str(h)+':'+str(m)+':'+str(s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8

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

Submission status: Accepted

Solution code:
S = int(input())
h1 = S // 3600
m1 = (S - 3600*h1) // 60
s1 = (S - 3600*h1 - 60*m1)
h2 = str(h1)
m2 = str(m1)
s2 = str(s1)
print(h2 + ":" + m2 + ":" + s2)

Submission status: Accepted

Solution code:
S=input()
H = int(S)//3600
M = (int(S)-3600*H)//60
s = int(S)-3600*H-60*M
print(H,M,s,sep=":")

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding : utf-8
s = input ()
m, s = divmod (int(s), 60)
h, m = divmod (m, 60)
print ('%d:%d:%d' % (h, m, s))

Submission status: Accepted

Solution code:
time = int(input())
hours = time // 3600
minutes = ( time % 3600 ) // 60
seconds = ( time % 3600 ) % 60
print(str(hours)+":"+str(minutes)+":"+str(seconds))

Submission status: Accepted

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

print(f"{H}"+":"+f"{M}"+":"+f"{S}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = int(input())

aa = a%60

a = a//60

aaa = a%60

a = a//60

print( "{0}:{1}:{2}".format(a,aaa,aa))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding=utf-8
s = int(input())
h = divmod(s, 3600)
m = divmod(h[1], 60)
print(h[0], m[0], m[1], sep=":")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int( raw_input())
a=s//3600
b=(s%3600)//60
c=(s%3600) % 60
print "%d:%d:%d" % (a ,b,c)

Submission status: Accepted

Solution code:
input_second = int(input())
hour = int(input_second / 3600)
minute = int((input_second % 3600) / 60)
second = (input_second % 3600) % 60
print("{0}:{1}:{2}".format(hour, minute, second))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
# your code goes here
in_sec = int(input())
sec = in_sec % 60
min = ((in_sec % 3600) - sec) // 60
hour = (in_sec - in_sec % 3600) // 3600
print(hour,':',min,':',sec, sep='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
i = int(input())
hour = i // 3600
i %= 3600
minute = i // 60
i %= 60
second = i

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())
h = int(s / 3600) #時間数をhに格納
 
s2 = s - h * 3600 #時間数を除いたあとの秒数をs2に格納
m = int(s2 / 60) #分数をmに格納
 
s3 = s2 - m * 60 #秒数をs3に格納
 
print(str(h) + ':' + str(m) + ':' + str(s3))

Submission status: Accepted

Solution code:
n = int(input())
print("{}:{}:{}".format(str(int(n/3600)),str(int(n%3600/60)),n%60))

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(str(h) + ":" + str(m) + ":" + str(s))
else:
    print("error")

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:
# -*- coding: utf-8 -*-

def main():
    S = int(raw_input())
    h = S / 3600
    m = S / 60 % 60
    s = S % 60
    print("%d:%d:%d" % (h,m,s))

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# your code goes here
s=input()
print "%d:%d:%d" % (s/60/60,s/60%60,s%60)

Submission status: Accepted

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
ts = input()
h = ts/3600
ts-= h*3600
m = ts/60
ts -= m*60
text = str(h)+":"+str(m)+":"+str(ts)
print(text)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S=input()

if 0<=S<86400:
    s=S%60
    m=(S-s)%3600
    h=(S-m-s)/3600
    print(h+":"+m/60+":"+s)

Submission status: Runtime Error

Solution code:
s = input()

hour = s//3600
minute = s//60
sec = s%60

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

Submission status: Runtime Error

Solution code:
S = int(input())
h = 0
m = 0
s = 0
while S > 60:
       S -= 60
       m += 1
while m > 60:
       m -= 60
        h += 1
s += S
print(str(h) + ":" + str(m) + ":" + str(s))

Submission status: Runtime Error

Solution code:
S = input(int)


print(S//3600)
print(':')
print(S//60%60)
print(':')
print(S%60)

Submission status: Runtime Error

Solution code:
S = input(int)


foo=(str(S//3600)+':'+str(S//60%60)+':'+str(S%60))
print(foo)

Submission status: Runtime Error

Solution code:
S = input(str)


foo=(str(S//3600)+':'+str(S//60%60)+':'+str(S%60))
print(foo)

Submission status: Runtime Error

Solution code:
x=int(input())
a=x%3600
hour=(x-a)/3600
second=a%60
minute=(a-b)/60

print(str(hour)+":"+str(minute)+":"+str(second))

Submission status: Runtime Error

Solution code:
import datetime as d
a = d.timedelta(seconds=int(input()))
print((a+d).hour, (a+d).minute, (a+d).second, sep=':')

Submission status: Runtime Error

Solution code:
import datetime as d
a,b = d.timedelta(seconds=int(input())).d.datetime(1,1,1)
print(((a+b).hour, (a+b).minute, (a+b).second, sep=':')

Submission status: Runtime Error

Solution code:
import datetime as d
a,b = d.timedelta(seconds=int(input())).d.datetime(1,1,1)
print((a+b).hour, (a+b).minute, (a+b).second, sep=':')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = int(input())

import math

h = math.floor(x/3600)
m = math.floor((x -h*3600)/60)
s = math.floor(x - h*3600 - m*60)
print0(h, ':',m , ':', s)

Submission status: Runtime Error

Solution code:
number = int(input())
print(number//3600, (number%3600)//60,  (number%3600)%60).split(':')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from sys import stdin

s = int(stdin.readline().rstrip().split())
h = s//3600
m = (s%3600)//60
sec = (s%3600)%60
print("{}:{}:{}".format(h, m, sec))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = S%3600//60
s = S%60
time="h,m,s"
print(time.split(`:`))

Submission status: Runtime Error

Solution code:
kl

Submission status: Runtime Error

Solution code:
s = input()
S = int(s)
a = S/(60*60)
b = (S-(int(a))*60*60)/60
c = S-(int(a)*60*60 + int(b)*60)
print(int(a), ":", int(b), ":", int(c)\n)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
x=int(input())
print(x/3600, ':', (x-x/3600)/60, ':', x-{(x-x/3600)/60}, sep='')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
input = int(input())

hour = math.floor(input/3600)
input -= hour*3600

min = math.floor(input/60)
input -= min*60

sec = math.floor(input)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#1 min = 60
#1 hour = 60 * 60 = 3600
#1 day = 60 * 60 * 24 = 86400

x=input('enter a positive integer: ')

t=int(x)


hour= (t-(day*86400))//3600
minit= (t - ((day*86400) + (hour*3600)))//60
seconds= t - ((day*86400) + (hour*3600) + (minit*60))
print(hour,minit,seconds, sep=':')

Submission status: Runtime Error

Solution code:


x=input('enter a positive integer: ')

t=int(x)


hour= (t-(day*86400))//3600
minit= (t - ((day*86400) + (hour*3600)))//60
seconds= t - ((day*86400) + (hour*3600) + (minit*60))
print(hour,minit,seconds, sep=':')

Submission status: Runtime Error

Solution code:
x= int(input())

t=int(x)


hour= (t-(day*86400))//3600
minit= (t - ((day*86400) + (hour*3600)))//60
seconds= t - ((day*86400) + (hour*3600) + (minit*60))
print(hour,minit,seconds, sep=':')

Submission status: Runtime Error

Solution code:
a= map(int,input().split())
print(a//3600+':'+(a%3600)//60+':'+(a%3600)%60)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
t = int(input())

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

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

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
using namespace std;
typedef long long unsigned int ll;

#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))

int main() {
  int s;
  cin >> s;
  int a,b,c;
  a = s / 3600;
  b = (s - a * 3600) / 60;
  c = s % 60;
  cout << a << ":" << b << ":" << c << endl;
  return 0;
}

Submission status: Runtime Error

Solution code:
x=int(input())
print(x//3600 a%3600//60 x%60)

Submission status: Runtime Error

Solution code:
x=int(input())
print(x//3600:a%3600//60:x%60)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
hour = input() // 3600
minute = input() - 3600 * hour
second = hour - 60 * minute

print( hour ':' minute ':' second ':' )

Submission status: Runtime Error

Solution code:
input = int(input())

hour = input // 3600
minute = input - 3600 * hour
second = hour - 60 * minute

print( hour ':' minute ':' second )

Submission status: Runtime Error

Solution code:
input = int(input())
 
hour = input // 3600
minute = input - 3600 * hour
second = hour - 60 * minute
 
print(str( hour : minute : second ))

Submission status: Runtime Error

Solution code:
import os

if os.command("ocamlopt") != 0:
    print(1/0)