Buggy python submission (verdict: Runtime Error):
S = input()
a = S // 3600
b = S % 3600
c = b // 60
d = c % 60
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S = input()
a = S / 3600
b = S % 3600
c = b / 60
d = c % 60
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S = input()
a = S / 3600
b = S % 3600
c = b / 60
d = b % 60
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S = input()
a = S // 3600
b = S % 3600
c = b // 60
d = b % 60
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S1 = raw.input()
S = int(S1)
a = S // 3600
b = S % 3600
c = b // 60
d = b % 60
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S1 = raw.input()
S = int(S1)
if 0 <= S and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S1 = raw.input()
S = int(S1)
if 0 <= S and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
else:
   print Error
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S1 = raw.input()
S = int(S1)
if 0 <= S and S <= 86400:
   a = S / 3600
   b = S % 3600
   c = b / 60
   d = b % 60
else:
   print Error
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S1 = raw.input()
S = int(S1)
if 0 <= S and S <= 86400:
   a = S / 3600
   b = S % 3600
   c = b / 60
   d = b % 60
else:
   print Error
print a + ":" + c + ":" + d

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S = input()
if 0 <= S and S <= 86400:
   a = S / 3600
   b = S % 3600
   c = b / 60
   d = b % 60
else:
   print Error
print a + ":" + c + ":" + d
 

 

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)

Buggy python submission (verdict: Runtime Error):
S = input()
if 0 <= S and S <= 86400:
   a = S / 3600
   b = S % 3600
   c = b / 60
   d = b % 60
else:
   print Error
printn "%d:%d:%d" %(a,c,d) 
 

 

Fixed submission:
S = input()
if S >= 0 and S <= 86400:
   a = S // 3600
   b = S % 3600
   c = b // 60
   d = b % 60
   print "%d:%d:%d" % (a, c, d)