s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
s328664399
p02390
u419760455
1475220421
Python
Python3
py
Runtime Error
0
0
93
S = input() hour = int(S/3600) min = int((S%3600)/60) sec = int(S/60) print(hour":"min":"sec)
s080186764
p02390
u352273463
1475415899
Python
Python3
py
Runtime Error
0
0
85
time=int(input()) sec=time%60 min=(time/60)%60 hour=time/3600 print(hour : min : sec)
s694521679
p02390
u352273463
1475415980
Python
Python3
py
Runtime Error
0
0
81
time=int(input()) sec=time%60 min=(time/60)%60 hour=time/3600 print(hour:min:sec)
s439699909
p02390
u352273463
1475416241
Python
Python3
py
Runtime Error
0
0
87
time=int(input()) sec=time%60 min=(time/60)%60 hour=time/3600 print(hour \: min \: sec)
s918305912
p02390
u352273463
1475416395
Python
Python3
py
Runtime Error
0
0
89
time=int(input()) sec=time%60 min=(time/60)%60 hour=time/3600 print(hour+':'+min+':'+sec)
s930322762
p02390
u352273463
1475416770
Python
Python3
py
Runtime Error
0
0
88
time=int(input()) sec=time%60 min=(time/60)%60 hour=time/3600 print hour,min,sec,sep=':'
s089164084
p02390
u352273463
1475416842
Python
Python3
py
Runtime Error
0
0
89
time=int(input()) sec=time%60 min=(time/60)%60 hour=time/3600 print(hour+":"+min+":"+sec)
s494662877
p02390
u833246689
1475464853
Python
Python
py
Runtime Error
0
0
77
s=int(raw_input()) h=s/3600 m=s/60%60 s=s%60 print str(h)+":"str(m)+":"str(s)
s479414754
p02390
u833246689
1475464896
Python
Python
py
Runtime Error
0
0
77
s=int(raw_input()) h=s/3600 m=s/60%60 s=s%60 print str(h)+":"str(m)+":"str(s)
s429918846
p02390
u226541377
1476360411
Python
Python3
py
Runtime Error
0
0
79
S = int(input()) h = S/3600 m = S%3600/60 s = S%60 print(h +":" + m + ":" + s)
s605858776
p02390
u801346721
1476601159
Python
Python3
py
Runtime Error
0
0
74
S = int(input()) s = S % 60 m = S // 60 h = S // 60 // 60 print(s':'m':'h)
s625589851
p02390
u725608708
1477544446
Python
Python3
py
Runtime Error
0
0
72
S=int(input()) h=s//3600 m=(s//60)%60 s=S%60 print(h,";",m,":",s,sep="")
s248260588
p02390
u725608708
1477544589
Python
Python3
py
Runtime Error
0
0
89
S = int(input()) h = s / / 3600 m = (s // 60) % 60 s = S % 60 print(h,";",m,":",s,sep="")
s932341918
p02390
u725608708
1477544700
Python
Python3
py
Runtime Error
0
0
88
S = int(input()) h = s // 3600 m = (s // 60) % 60 s = S % 60 print(h,":",m,":",s,sep="")
s159667541
p02390
u976860528
1477665887
Python
Python3
py
Runtime Error
0
0
84
x=int(input()) print(str(int(x/3600))+":"+str((x-h*3600)/60)+":"+str((x-h*3600)%60))
s862415931
p02390
u967794515
1477833985
Python
Python3
py
Runtime Error
0
0
116
# coding: utf-8 # Here your code ! x = input() h = x / 3600 m = x % 3600 / 60 s = x % 3600 % 60 print(h+":"+m+":"+s)
s355277326
p02390
u967794515
1477834963
Python
Python3
py
Runtime Error
0
0
214
# coding: utf-8 # Here your code ! x = input('The Integer is ') # x = input('The Integer is ') h = int(x) / 3600 m = (int(x) % 3600) / 60 s = int(x) - int(h) * 3600 - int(m) * 60 print(int(h)+':'+int(m)+':'+int(s))
s313068063
p02390
u326248180
1478756472
Python
Python3
py
Runtime Error
0
0
78
import time sec = int(intput()) print((sec - day * 86400).strftime("H:M:S"))
s189246092
p02390
u326248180
1478756495
Python
Python3
py
Runtime Error
0
0
81
import time sec = int(intput()) print((sec - day * 86400).strftime("%H:%M:%S"))
s817239665
p02390
u326248180
1478756526
Python
Python3
py
Runtime Error
0
0
104
import time sec = int(intput()) print((Time.parse("1/1") + (sec - day * 86400)).strftime("%H:%M:%S:"))
s249712656
p02390
u401561400
1479149931
Python
Python3
py
Runtime Error
0
0
74
s = input() h = s//60 s = s-h*60 m = s//60 s = s-m*60 print(h,':',m,':',s)
s160766466
p02390
u086566114
1479299281
Python
Python
py
Runtime Error
0
0
238
import sys input_value = int(sys.stdin.readlines()[0].split()) hour = input_value/3600 input_value -= hour * 3600 minute = input_value/60 input_value -= minute * 60 second = input_value print("{0}:{1}:{2}".format(hour, minute, second))
s893627698
p02390
u226541377
1479694836
Python
Python3
py
Runtime Error
0
0
75
S = input() h = S/3600 m = (S%3600)/60 s = (S%3600)%60 print(h,":",m,":",s)
s404228824
p02390
u693424532
1481551528
Python
Python3
py
Runtime Error
0
0
81
S = input() h = S / 3600 m = h % 3600 / 60 s = m % 60 /60 print(h,m,s,sep = ':')
s376710118
p02390
u693424532
1481552463
Python
Python3
py
Runtime Error
0
0
92
S = input() h = int(S / 3600) m = int(h % 3600 / 60) s = int(S % 60) print(h,m,s,sep = ':')
s886721509
p02390
u234358002
1482289232
Python
Python3
py
Runtime Error
0
0
70
S=int(input()) h=S//3600 m=(S-h*3600)//60 s=S-h*3600-m*60 print(h:m:s)
s194500554
p02390
u234358002
1482290666
Python
Python3
py
Runtime Error
0
0
87
S=int(input()) amari = S%3600 s = amari % 60 h = S//3600 m = amari//60 print(h,:,m,:,s)
s552968773
p02390
u156024720
1482465544
Python
Python3
py
Runtime Error
0
0
118
s = input("") h = s / 3600 m = (s % 3600) / 60 s = ((s % 3600) % 60) % 60 print("{0:d}:{1:d}:{2:d}".format(h, m, s))
s781686278
p02390
u156024720
1482581392
Python
Python3
py
Runtime Error
0
0
155
s = input("") if s >= 0 and s < 86400: h = s / 3600 m = (s % 3600) / 60 s = ((s % 3600) % 60) % 60 print("{0:d}:{1:d}:{2:d}".format(h, m, s))
s565658318
p02390
u156024720
1482581558
Python
Python3
py
Runtime Error
0
0
160
s = int(input("")) if s >= 0 and s < 86400: h = s / 3600 m = (s % 3600) / 60 s = ((s % 3600) % 60) % 60 print("{0:d}:{1:d}:{2:d}".format(h, m, s))
s608482141
p02390
u156024720
1482582086
Python
Python3
py
Runtime Error
0
0
160
S = int(input("")) if S >= 0 and S < 86400: h = S / 3600 m = (S % 3600) / 60 s = ((S % 3600) % 60) % 60 print("{0:d}:{1:d}:{2:d}".format(h, m, s))
s158479146
p02390
u156024720
1482582181
Python
Python3
py
Runtime Error
0
0
190
second = int(input("")) if second >= 0 and second < 86400: h = second / 3600 m = (second % 3600) / 60 s = ((second % 3600) % 60) % 60 print("{0:d}:{1:d}:{2:d}".format(h, m, s))
s133278573
p02390
u313089641
1482679147
Python
Python3
py
Runtime Error
0
0
97
x = int(input) h = x // 3600 m = x % 3600//60 s = x % 3600 % 60 print('{}:{}:{}'.format(h, m, s))
s821675914
p02390
u019678978
1482854720
Python
Python
py
Runtime Error
0
0
190
seconds = int(raw_input()) hour = seconds / 3600 minute = (seconds - (hour * 3600)) / 60 second = seconds - (hour * 3600) - (minute * 60) print(str(hour) + ':' str(minute) + ':' str(second))
s284353914
p02390
u159126725
1483938184
Python
Python
py
Runtime Error
0
0
98
t = raw_input() h = t//60//60 m = t//60 - h*60 s = t - m*60 - h*60*60 print '%d:%d:%d' % (h, m, s)
s602378638
p02390
u058933891
1484152705
Python
Python3
py
Runtime Error
0
0
143
s = int(input()) h = int((s - s % 3600 ) / 3600 ) m = int((s% 3600 - (s % 3600) % 60) /60 ) s = int((s % 3600) % 60 )/ 60) print ( "h:m:s")
s051706249
p02390
u307520683
1486037484
Python
Python
py
Runtime Error
0
0
101
=S=input() h,m,s=1,1,0.0 h=S/3600 m=(S-h*3600)/60 s=(S-h*3600-m*60) print ':'.join(map(str,[h,m,s]))
s373494114
p02390
u708334265
1486480394
Python
Python3
py
Runtime Error
0
0
178
input = input() for i in range(3): tmp = int(input % 60) hms.append(tmp) input = int((input-tmp)/60) hms.reverse() print(str(hms[0])+':'str(hms[1])+':'str(hms[2]))
s035899686
p02390
u708334265
1486480489
Python
Python3
py
Runtime Error
0
0
178
input = input() for i in range(3): tmp = int(input % 60) hms.append(tmp) input = int((input-tmp)/60) hms.reverse() print(str(hms[0])+':'str(hms[1])+':'str(hms[2]))
s640677997
p02390
u708334265
1486480528
Python
Python3
py
Runtime Error
0
0
172
sec = input() for i in range(3): tmp = int(sec % 60) hms.append(tmp) input = int((sec-tmp)/60) hms.reverse() print(str(hms[0])+':'str(hms[1])+':'str(hms[2]))
s563000375
p02390
u708334265
1486480584
Python
Python3
py
Runtime Error
0
0
181
sec = input() hms = [0]*3 for i in range(3): tmp = int(sec % 60) hms[i] = tmp input = int((sec-tmp)/60) hms.reverse() print(str(hms[0])+':'str(hms[1])+':'str(hms[2]))
s321051431
p02390
u708334265
1486480592
Python
Python3
py
Runtime Error
0
0
181
sec = input() hms = [0]*3 for i in range(3): tmp = int(sec % 60) hms[i] = tmp input = int((sec-tmp)/60) hms.reverse() print(str(hms[0])+':'str(hms[1])+':'str(hms[2]))
s233006888
p02390
u708334265
1486480654
Python
Python3
py
Runtime Error
0
0
183
sec = input() hms = [0]*3 for i in range(3): tmp = int(sec % 60) hms[i] = tmp input = int((sec-tmp)/60) hms.reverse() print(str(hms[0])+':'+str(hms[1])+':'+str(hms[2]))
s284851354
p02390
u708334265
1486480815
Python
Python3
py
Runtime Error
0
0
181
sec = input() hms = [0]*3 for i in range(3): tmp = int(sec % 60) hms[i] = tmp sec = int((sec-tmp)/60) hms.reverse() print(str(hms[0])+':'+str(hms[1])+':'+str(hms[2]))
s753046712
p02390
u708334265
1486480895
Python
Python3
py
Runtime Error
0
0
181
sec = input() hms = [0]*3 for i in range(3): tmp = int(sec % 60) hms[i] = tmp sec = int((sec-tmp)/60) hms.reverse() print(str(hms[0])+':'+str(hms[1])+':'+str(hms[2]))
s584659569
p02390
u158308386
1487080779
Python
Python3
py
Runtime Error
0
0
212
input_str = input() input_tuple = divmod(int(input_str), 3600) output_str = input_tuple[0] + ":" input_tuple = divmod(int(input_str), 60) output_str += input_tuple[0] + ":" + input_tuple[1] print(output_str)
s113186089
p02390
u158308386
1487081138
Python
Python3
py
Runtime Error
0
0
212
input_str = input() input_tuple = divmod(int(input_str), 3600) output_str = input_tuple[0] + ":" input_tuple = divmod(int(input_str), 60) output_str += input_tuple[0] + ":" + input_tuple[1] print(output_str)
s283999972
p02390
u548155360
1487145542
Python
Python3
py
Runtime Error
0
0
86
S=input() h = S/3600 S = S%3600 m = S/60 s = S%60 print(':'.join(map(str,[h,m,s])))
s373375660
p02390
u548155360
1487145672
Python
Python3
py
Runtime Error
0
0
90
S=input() h = S//3600 S = S%3600 m = S//60 s = S%60 print(':'.join(map(str,[h, m, s])))
s430463491
p02390
u548155360
1487145853
Python
Python3
py
Runtime Error
0
0
75
S=input() h = S//3600 S = S%3600 m = S//60 s = S%60 print(h,m,s,sep=":")
s782366328
p02390
u548155360
1487146022
Python
Python3
py
Runtime Error
0
0
75
S=input() h = S//3600 S = S%3600 m = S//60 s = S%60 print(h,m,s,sep=":")
s071243523
p02390
u553058997
1487754728
Python
Python3
py
Runtime Error
0
0
118
sec = int(input()) h = int(sec / 3600) m = int((sec - h * 3600) / 60) print(":".join([h, m, sec - h * 3600 - m * 60]))
s091878354
p02390
u553058997
1487756639
Python
Python3
py
Runtime Error
0
0
118
sec = int(input()) h = int(sec / 3600) m = int((sec - h * 3600) / 60) print(":".join([h, m, sec - h * 3600 - m * 60]))
s540248635
p02390
u497195381
1488211966
Python
Python
py
Runtime Error
0
0
83
S=input() h=S/3600 S=S-h*3600 m=S/60 s=S-m*60 return str(h)+":"+str(m)+":"+str(s)
s742607531
p02390
u775160104
1488282174
Python
Python3
py
Runtime Error
0
0
76
S = int(input()) h = S//3600 m, s = divmod(S%3600, 60) print(f"{h}:{m}:{s}")
s968716146
p02390
u426534722
1488459266
Python
Python3
py
Runtime Error
0
0
75
s = input() print(str(s // 3600) + ":" + str(s // 60) + ":" + str(s % 60))
s704953645
p02390
u426534722
1488459328
Python
Python3
py
Runtime Error
0
0
112
s = input() print(s // 3600, end="") print(":", end="") print(s // 60, end="") print(":", end="") print(s % 60)
s105411337
p02390
u072398496
1489374797
Python
Python
py
Runtime Error
0
0
53
n=input() h=n/3600 s=n%3600 m=s/60 s=s%60 print h:m:s
s990851420
p02390
u072398496
1489375029
Python
Python
py
Runtime Error
0
0
79
n=input() h=n/3600 s=n%3600 m=s/60 s=s%60 print str(h)+":"+str(m)+":"str(s)+":"
s302848955
p02390
u072398496
1489375148
Python
Python
py
Runtime Error
0
0
75
n=input() h=n/3600 s=n%3600 m=s/60 s=s%60 print str(h)+":"+str(m)+":"str(s)
s766085204
p02390
u249954942
1490345258
Python
Python3
py
Runtime Error
0
0
134
import math ms = int(input()) sec = ms%60 mn = math.floor(ms/60)%60 hr = math.floor(math.floor(ms/60)/60) print(hr+":"mn+":"+sec)
s194136124
p02390
u042882066
1490662775
Python
Python3
py
Runtime Error
0
0
91
S=input() sec=S%60 min=(S-sec)%3600/60 hour=(S-min*60-sec)/3600 print(hour+":"+min+":"+sec)
s249845646
p02390
u042882066
1490662775
Python
Python3
py
Runtime Error
0
0
91
S=input() sec=S%60 min=(S-sec)%3600/60 hour=(S-min*60-sec)/3600 print(hour+":"+min+":"+sec)
s366527065
p02390
u042882066
1490662821
Python
Python3
py
Runtime Error
0
0
96
S=int(input()) sec=S%60 min=(S-sec)%3600/60 hour=(S-min*60-sec)/3600 print(hour+":"+min+":"+sec)
s012734606
p02390
u042882066
1490662821
Python
Python3
py
Runtime Error
0
0
96
S=int(input()) sec=S%60 min=(S-sec)%3600/60 hour=(S-min*60-sec)/3600 print(hour+":"+min+":"+sec)
s072273325
p02390
u042882066
1490663556
Python
Python3
py
Runtime Error
0
0
152
import math S=input() hour = math.floor(S/3600) min = math.floor((S-hour*3600)/60) sec = S - h*3600 - m*60 print(str(hour)+":"+str(min)+":"+str(sec))
s524233895
p02390
u042882066
1490663556
Python
Python3
py
Runtime Error
0
0
152
import math S=input() hour = math.floor(S/3600) min = math.floor((S-hour*3600)/60) sec = S - h*3600 - m*60 print(str(hour)+":"+str(min)+":"+str(sec))
s861746956
p02390
u042882066
1490663637
Python
Python3
py
Runtime Error
0
0
167
import math S=input() hour = int(math.floor(S/3600)) min = int(math.floor((S-hour*3600)/60)) sec = int(S - h*3600 - m*60) print(str(hour)+":"+str(min)+":"+str(sec))
s228345418
p02390
u042882066
1490663653
Python
Python3
py
Runtime Error
0
0
157
import math S=int(input()) hour = math.floor(S/3600) min = math.floor((S-hour*3600)/60) sec = S - h*3600 - m*60 print(str(hour)+":"+str(min)+":"+str(sec))
s192834188
p02390
u606989659
1490788218
Python
Python3
py
Runtime Error
0
0
97
S = (int,input()) h = S // 3600 m = (S % 3600) // 60 s = (S % 60) print('{}:{}:{}'.format(h,m,s))
s469915225
p02390
u208157605
1491341483
Python
Python3
py
Runtime Error
0
0
149
seconds = int(input()) hour = seconds // 3600 minute = seconds % 3600 // 60 second = seconds % 3600 % 60 print(hour + ':' + minute + ':' + second)
s215965202
p02390
u208157605
1491341613
Python
Python3
py
Runtime Error
0
0
164
seconds = int(input()) hour = int(seconds // 3600) minute = int(seconds % 3600 // 60) second = int(seconds % 3600 % 60) print(hour + ':' + minute + ':' + second)
s662445893
p02390
u111398151
1492442026
Python
Python3
py
Runtime Error
0
0
70
s = int(input()) h=s/3600 m=(s-3600h)/60 ss =s%360 print(h , m , ss)
s462545155
p02390
u503144441
1492759468
Python
Python3
py
Runtime Error
0
0
129
def jikan(S): 0<=S<86400 h=int(S/3600) m=int((S%3600)/60) s=int(((S%3600)%60)) print(h,":",m,":",s) jikan(S)
s354394641
p02390
u772010071
1493111825
Python
Python3
py
Runtime Error
0
0
84
s = input() h = s//3600 m = (s-h*3600)//60 sec = (s-h*3600)%60 print(+ ":" + ":" +)
s148011048
p02390
u772010071
1493111884
Python
Python3
py
Runtime Error
0
0
86
s = input() h = s//3600 m = (s-h*3600)//60 sec = (s-h*3600)%60 print(h+":"+m+":"+sec)
s300081483
p02390
u772010071
1493111950
Python
Python3
py
Runtime Error
0
0
69
s = input() h = s//3600 m,sec = (s-h*3600)/60 print(h+":"+m+":"+sec)
s730267168
p02390
u772010071
1493112118
Python
Python3
py
Runtime Error
0
0
58
s = int(input()) print(s//3600+":"+(s//3600)//60+":"+s%60)
s304462880
p02390
u772010071
1493112148
Python
Python3
py
Runtime Error
0
0
73
s = int(input()) print(str(s//3600)+":"+str((s//3600))//str(60+":"+s%60))
s568073206
p02390
u772010071
1493112199
Python
Python3
py
Runtime Error
0
0
81
s = int(input()) print(str(s//3600) + ":" +str((s//3600))//60 + ":" + str(s%60))
s583203876
p02390
u645985665
1493543904
Python
Python3
py
Runtime Error
0
0
143
input = int(input()) second = input%60 minute = ((input-second)%60)%60 hour = (input-(second+minute*60))%3600 print(hour+":"+minute+":"+second)
s391286722
p02390
u213265973
1494226475
Python
Python3
py
Runtime Error
0
0
91
S = int(input()) h = int(S/360) rest = S % 360 m = int(rest/60) s = rest % m print(h:m:s)
s826977607
p02390
u213265973
1494226734
Python
Python3
py
Runtime Error
0
0
108
S = input() h = S/360 rest = S % 360 m = rest/60 s = rest % 60 print(str(h) + ":" + str(m) + ":" + str(s))
s823203755
p02390
u213265973
1494227094
Python
Python3
py
Runtime Error
0
0
66
S = int(input()) print(S / 360, (S % 360) / 60, S % 60, sep = ":"
s633024529
p02390
u884012707
1494998331
Python
Python3
py
Runtime Error
0
0
55
h,a=divmod(int(input())) m,s=divmod(a) print(h":"m":"s)
s386485218
p02390
u884012707
1494998414
Python
Python3
py
Runtime Error
0
0
59
h,a=divmod(int(input())) m,s=divmod(a) print(h+":"+m+":"+s)
s246787724
p02390
u884012707
1494998563
Python
Python3
py
Runtime Error
0
0
70
h,a=divmod(int(input())) m,s=divmod(a) print("{}:{}:{}").format(h,m,s)
s102427796
p02390
u884012707
1494998667
Python
Python3
py
Runtime Error
0
0
78
h,a=divmod(int(input())/3600) m,s=divmod(a/60) print("{}:{}:{}").format(h,m,s)
s211521926
p02390
u884012707
1494998706
Python
Python3
py
Runtime Error
0
0
78
h,a=divmod(int(input()),3600) m,s=divmod(a,60) print("{}:{}:{}").format(h,m,s)
s474667215
p02390
u686209982
1495084712
Python
Python3
py
Runtime Error
0
0
125
x = int(input()) h = x // 3600 a = x%3600 m = a // 60 b = a%60 s = b print(str(h)+":"+str(m)+":"+str(s)) 13:2:59
s067808793
p02390
u603049633
1495500915
Python
Python3
py
Runtime Error
0
0
93
S = input() h = S // 3600 ms = S % 3600 m = ms // 60 s = ms % 60 print(h + ":" + m + ":" + s)
s578694919
p02390
u603049633
1495501057
Python
Python3
py
Runtime Error
0
0
100
S = int(input()) h = S // 3600 ms = S % 3600 m = ms // 60 s = ms % 60 print(h + ":" + m + ":" + s)
s533737364
p02390
u603049633
1495501191
Python
Python3
py
Runtime Error
0
0
98
S = int(input()) h = S // 3600 ms = S % 3600 m = ms // 60 s = ms % 60 print(h + ":" + m + ":" + s)
s893125795
p02390
u999594662
1496109588
Python
Python3
py
Runtime Error
0
0
152
S=input() float(a) = S/60/60 float(b) = a - int(a) float(c) = b * 60 float(d) = c - int(c) float(e) = d * 60 print(int(a) + ':' + int(c) + ':' + int(e))
s812283953
p02390
u999594662
1496111306
Python
Python3
py
Runtime Error
0
0
84
S = input() h = S/3600 m = S%3600/60 s = S-h*3600-m*60 print('%d:%d:%d" % (h, m, s))
s493774549
p02390
u999594662
1496111698
Python
Python3
py
Runtime Error
0
0
77
S=input() h=S/3600 m=(S%3600)/60 s=S-(h*3600)-(m*60) print("%d:%d:%d"%(h,m,s)
s818871761
p02390
u999594662
1496112131
Python
Python3
py
Runtime Error
0
0
67
S=input() h=S/3600 m=(S%3600)/60 s=S%60 print("%d:%d:%d" % (h,m,s))
s820084645
p02390
u999594662
1496112306
Python
Python3
py
Runtime Error
0
0
72
S=input() h=S/3600 m=(S%3600)/60 s=(S%3600)%60 print("%d:%d:%d"%(h,m,s))
s783197978
p02390
u999594662
1496114860
Python
Python3
py
Runtime Error
0
0
72
t=input() h=t/3600 m=t/3600%60 s=t-h*3600-m*60 print('%d:%d:%d'%(h,m,s))
s464582086
p02390
u025362139
1496651881
Python
Python
py
Runtime Error
0
0
91
a = int(input())/3600 a_p = int(input())%3600 b = a_p/60 b_p = a_p%60 print a,":",b,":",b_p