Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
words = input().split(" ")
for word in words:
    for w in word:
       if w.isalpha:
           if w.isupper():
               w.lower()
            else:
                w.upper()
print(",".join(words))

    

Fixed submission:
print(input().swapcase())

Buggy python submission (verdict: Runtime Error):
words = input().split(" ")
for word in words:
    for w in word:
       if w.isalpha:
           if w.isupper():
               w.lower()
            elif w.islower:
                w.upper()
print(",".join(words))

    

Fixed submission:
print(input().swapcase())

Buggy python submission (verdict: Runtime Error):
words = input().split(",")
for word in words:
    for w in word:
       if w.isalpha:
           if w.isupper():
               w.lower()
            elif w.islower:
                w.upper()
print(",".join(words))

    

Fixed submission:
print(input().swapcase())

Buggy python submission (verdict: Runtime Error):
words = input().split(",")
for word in words:
    for w in word:
       if w.isalpha:
           if w.isupper():
               w.lower()
            elif w.islower:
                w.upper()
print(",".join(words))

    

Fixed submission:
print(input().swapcase())

Buggy python submission (verdict: Runtime Error):
words = input().split(",")
for word in words:
    for w in word:
       if w.isalpha == True:
           if w.isupper() == True:
               w.lower()
            elif w.islower == True:
                w.upper()
print(",".join(words))

    

Fixed submission:
print(input().swapcase())

Buggy python submission (verdict: Runtime Error):
words = input().split(",")
for word in words:
    for w in word:
       if w.isalpha == True:
           if w.isupper() == True:
               w.lower()
            elif w.islower == True:
                w.upper()
print(", ".join(words))

    

Fixed submission:
print(input().swapcase())

Buggy python submission (verdict: Runtime Error):
words = input().split(",")
for word in words:
    for w in word:
       if w.isalpha == True:
           if w.isupper() == True:
               w.lower()
            elif w.islower == True:
                w.upper()
print(", ".join(words))

    

Fixed submission:
print(input().swapcase())
Buggy python submission (verdict: Runtime Error):
W = input()
count = 0
while True:
    T = input().split(" ")
    if T == "END_OF_TEXT":
        break
    count += T.count(W)
    print(count)

    
    

Fixed submission:
W = input().lower()
count = 0
while True:
    T = input()
    if T == "END_OF_TEXT":
        break
    count += T.lower().split(" ").count(W)
print(count)

Buggy python submission (verdict: Runtime Error):
W = input()
count = 0
while True:
    T = input().split(" ")
    if T == "END_OF_TEXT":
        break
    count += T.count(W)
    print(count)

    
    

Fixed submission:
W = input().lower()
count = 0
while True:
    T = input()
    if T == "END_OF_TEXT":
        break
    count += T.lower().split(" ").count(W)
print(count)
Buggy python submission (verdict: Time Limit Exceeded):
import sys
def gcd(a,b):
    if(b == 0):
        return a
    else:
        c = b
        b = a%b
        a = c
        return(gcd(a,b))

x = int(input())
count = 0
for y in range(1,x+1):
    if gcd(x,y) == 1:
        count+=1

print(count)

Fixed submission:
import sys
def euler(a):
    i = 2
    res = a
    #standard = a
    while i * i <= a:
        if a % i == 0:
            res = res - res//i
            while a % i == 0:
                a //= i

        i += 1
    if a != 1:
        res = res - res//a

    return res


x = int(input())


print(euler(x))
Buggy python submission (verdict: Runtime Error):
def main () :
        a,b =  [int(i) for i in input().split()]
    if a<b:
        print("a<b")
    elif a>b :
        print("a>b")
    else :
        print("a==b")

if__name__=='__main__':
    main()

Fixed submission:
def main () :
    a, b = [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if __name__=='__main__':
    main()

Buggy python submission (verdict: Runtime Error):
def main () :
        a,b =  [int(i) for i in input().split()]
    if a<b:
        print("a<b")
    elif a>b :
        print("a>b")
    else :
        print("a==b")

if__name__=='__main__':
    main()

Fixed submission:
def main () :
    a, b = [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if __name__=='__main__':
    main()

Buggy python submission (verdict: Runtime Error):
def main () :
        a,b =  [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if__name__=='__main__':
    main()

Fixed submission:
def main () :
    a, b = [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if __name__=='__main__':
    main()

Buggy python submission (verdict: Runtime Error):
def main () :
        a, b = [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if __name__=='__main__':
    main()

Fixed submission:
def main () :
    a, b = [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if __name__=='__main__':
    main()

Buggy python submission (verdict: Runtime Error):
def main () :
        a, b = [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if __name__=='__main__':
    main()

Fixed submission:
def main () :
    a, b = [int(i) for i in input().split()]
    if a < b :
        print( "a < b")
    elif a > b :
        print("a > b")
    else :
        print("a == b")

if __name__=='__main__':
    main()
Buggy python submission (verdict: Runtime Error):
def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i >= n/i: return 1
        if n % i == 0 : return 0

    return 1

N = int(input())
n = [int(input()) for i in range(N)]

a = [i for i in n if isprime(i)]

print(len(a))


Fixed submission:
x, y = map(int, input().split())

def gcd(x,y):
    if x < y:
        x, y = y, x
    d = int()
    while y > 0:
        r = x % y
        x, y = y, r

    return x

print(gcd(x, y))
Buggy python submission (verdict: Time Limit Exceeded):
def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if n % i == 0 : return 0

    return 1

N = int(input())
n = [isprime(int(input())) for i in range(N)].count(1)

print(n)


Fixed submission:
def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

    return 1

N = int(input())
n = [int(input()) for i in range(N)]

a = [i for i in n if isprime(i)]

print(len(a))

Buggy python submission (verdict: Time Limit Exceeded):
def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if n % i == 0 : return 0

    return 1

N = int(input())
n = [int(input()) for i in range(N)]

a = [i for i in n if isprime(i)]

print(len(a))


Fixed submission:
def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

    return 1

N = int(input())
n = [int(input()) for i in range(N)]

a = [i for i in n if isprime(i)]

print(len(a))
Buggy python submission (verdict: Runtime Error):
n = int(input())
print(n**)


Fixed submission:
n = int(input())
print(n**3)
Buggy python submission (verdict: Runtime Error):
 getime(n):
    h = m = s = 0
    while n >= 3600:
        n -= 3600
        h += 1
    while n >= 60:
        n -= 60
        m += 1
    s = n
    return h, m, s

h,m,s = getime(int(input()))
print("{}:{}:{}".format(h,m,s))


Fixed submission:
def getime(n):
    h = m = s = int()
    while n >= 3600:
        n -= 3600
        h += 1
    while n >= 60:
        n -= 60
        m += 1
    s = n
    return h, m, s

n = int(input())
h,m,s = getime(n)
print("{}:{}:{}".format(h,m,s))
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
d = 0
while a > b:
    a -= b
    d += 1
r = a
f = round(a/b, 5)
print('{} {} {}'.format(d, r, f))


Fixed submission:
a, b = map(int, input().split())
d = int(a/b)
r = a%b
f = a/b
print('{} {} {:0.9f}'.format(d, r, f))
Buggy python submission (verdict: Runtime Error):
r = int(input())
pi = 3.141592653589
a = r * r * pi
l = r * 2 * pi
print('{:0.8} {:0.8}'.format(a, l))


Fixed submission:
r = float(input())
pi = 3.14159265359
a = r * r * pi
l = r * 2 * pi
print('{:f} {:f}'.format(a, l))

Buggy python submission (verdict: Runtime Error):
r = int(input())
pi = 3.14159265
a = r * r * pi
l = r * 2 * pi
print('{:0.8} {:0.8}'.format(a, l))


Fixed submission:
r = float(input())
pi = 3.14159265359
a = r * r * pi
l = r * 2 * pi
print('{:f} {:f}'.format(a, l))

Buggy python submission (verdict: Runtime Error):
r = int(input())
a = r * r * 3.14159265
l = r * 2 * 3.14159265
print('{:0.8} {:0.8}'.format(a, l))


Fixed submission:
r = float(input())
pi = 3.14159265359
a = r * r * pi
l = r * 2 * pi
print('{:f} {:f}'.format(a, l))

Buggy python submission (verdict: Runtime Error):
r = int(input())
a = r * r * 3.14
l = r * 2 * 3.14
print('{} {}'.format(a, l))


Fixed submission:
r = float(input())
pi = 3.14159265359
a = r * r * pi
l = r * 2 * pi
print('{:f} {:f}'.format(a, l))
Buggy python submission (verdict: Runtime Error):
n, m = [int(i) for i in input().split()]
a = [[int(j) for j in input().split()] for i in range(n)]
b = [int(input()) for i in range(m)]

ans = [sum([a[j][i] * b[i] for i in range(4)]) for j in range(3)]
print(*ans, sep='\n')


Fixed submission:
n, m = [int(i) for i in input().split()]
a = [[int(j) for j in input().split()] for i in range(n)]
b = [int(input()) for i in range(m)]

ans = [sum([a[j][i] * b[i] for i in range(m)]) for j in range(n)]
print(*ans, sep='\n')
Buggy python submission (verdict: Runtime Error):
r, c = [int(i) for i in input().split()]
data = ([int(i) for i in input().split()] for j in range(r))
ans = [data[i] + [sum(data[i])] for i in range(r)]
last_ans = ans + [[sum([ans[i][j] for i in range(r)]) for j in range(c+1)]]
for i in last_ans:
    print(*i)


Fixed submission:
r, c = [int(i) for i in input().split()]
data = [[int(i) for i in input().split()] for j in range(r)]
ans = [data[i] + [sum(data[i])] for i in range(r)]
last_ans = ans + [[sum([ans[i][j] for i in range(r)]) for j in range(c+1)]]
for i in last_ans:
    print(*i)

Buggy python submission (verdict: Runtime Error):
r, c = [int(i) for i in input().split()]
data = [[int(i) for i in input().split()] for j in range(r))]
ans = [data[i] + [sum(data[i])] for i in range(r)]
last_ans = ans + [[sum([ans[i][j] for i in range(r)]) for j in range(c+1)]]
for i in last_ans:
    print(*i)


Fixed submission:
r, c = [int(i) for i in input().split()]
data = [[int(i) for i in input().split()] for j in range(r)]
ans = [data[i] + [sum(data[i])] for i in range(r)]
last_ans = ans + [[sum([ans[i][j] for i in range(r)]) for j in range(c+1)]]
for i in last_ans:
    print(*i)
Buggy python submission (verdict: Runtime Error):
import re
w = input()
t = ''
while True:
    s = input()
    if s == 'END_OF_TEXT':
        break
    t += s

print(len(re.findall(w, t))


Fixed submission:
w = input()
t = []
while True:
    s = [1 if i.lower() == w else 'fin' if i == 'END_OF_TEXT' else 0 for i in input().split()]
    t += s
    if 'fin' in s:
        break
print(t.count(1))

Buggy python submission (verdict: Runtime Error):
import re
w = input().lower()
t = ''
while True:
    s = input().lower()
    if s == 'END_OF_TEXT':
        break
    t += s

print(len(re.findall(w, t))


Fixed submission:
w = input()
t = []
while True:
    s = [1 if i.lower() == w else 'fin' if i == 'END_OF_TEXT' else 0 for i in input().split()]
    t += s
    if 'fin' in s:
        break
print(t.count(1))

Buggy python submission (verdict: Runtime Error):
w = input()
cnt = collections.Counter()
while True:
    s = [1 if i.lower() == w else 'fin' if i == 'END_OF_TEXT' else 0 for i in input().split()]
    if 'fin' in s:
        break
print(s.count(1))


Fixed submission:
w = input()
t = []
while True:
    s = [1 if i.lower() == w else 'fin' if i == 'END_OF_TEXT' else 0 for i in input().split()]
    t += s
    if 'fin' in s:
        break
print(t.count(1))
Buggy python submission (verdict: Runtime Error):
x = input()
answer = x ** 3
print(answer)

Fixed submission:
x = input()
answer = int(x) ** 3
print(answer)
Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
c = a * b
d = 2 * (a + b)
print(c)
print(d)


Fixed submission:
a,b = (int(x) for x in input().split())
c = a * b
d = (a + b) * 2
print(c,d)

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
c = a * b
d = 2 * (a + b)
print(c,d)



Fixed submission:
a,b = (int(x) for x in input().split())
c = a * b
d = (a + b) * 2
print(c,d)

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
c = a * b
d = 2 * (a + b)
print(c,d)



Fixed submission:
a,b = (int(x) for x in input().split())
c = a * b
d = (a + b) * 2
print(c,d)
Buggy python submission (verdict: Runtime Error):
i = 100
for i in range (i):
    a_list = [str(x) for x in input().split()]
    a = int(a_list[0])
    b = int(a_list[2])
    op = a_list[1]
    if op == '+':
        ab = a + b
        print(ab)
        i = i + 1
        continue
    elif op == '-':
        ab = a - b
        print(ab)
        i = i + 1
        continue
    elif op == '*':
        ab = a * b
        print(ab)
        i = i + 1
        continue
    elif op == '/':
        ab = a // b
        print(ab)
        i = i + 1
        continue
    elif op == '-':
        exit()



Fixed submission:
i = 100
for i in range (i):
    a_list = [str(x) for x in input().split()]
    a = int(a_list[0])
    b = int(a_list[2])
    op = a_list[1]
    if op == '+':
        ab = a + b
        print(ab)
        i = i + 1
        continue
    elif op == '-':
        ab = a - b
        print(ab)
        i = i + 1
        continue
    elif op == '*':
        ab = a * b
        print(ab)
        i = i + 1
        continue
    elif op == '/':
        ab = a // b
        print(ab)
        i = i + 1
        continue
    elif op == '?':
        exit()

Buggy python submission (verdict: Runtime Error):
i = 100
for i in range (i):
    a_list = [str(x) for x in input().split()]
    a = int(a_list[0])
    b = int(a_list[2])
    op = a_list[1]
    if op == '+':
        ab = a + b
        print(ab)
        i = i + 1
        continue
    elif op == '-':
        ab = a - b
        print(ab)
        i = i + 1
        continue
    elif op == '*':
        ab = a * b
        print(ab)
        i = i + 1
        continue
    elif op == '/':
        ab = a // b
        print(ab)
        i = i + 1
        continue
    elif op == '-':
        exit()



Fixed submission:
i = 100
for i in range (i):
    a_list = [str(x) for x in input().split()]
    a = int(a_list[0])
    b = int(a_list[2])
    op = a_list[1]
    if op == '+':
        ab = a + b
        print(ab)
        i = i + 1
        continue
    elif op == '-':
        ab = a - b
        print(ab)
        i = i + 1
        continue
    elif op == '*':
        ab = a * b
        print(ab)
        i = i + 1
        continue
    elif op == '/':
        ab = a // b
        print(ab)
        i = i + 1
        continue
    elif op == '?':
        exit()
Buggy python submission (verdict: Runtime Error):
x,y =[int(i) for i in input().split()]
if x < y :
    swap(x, y)
while y > 0 :
    r = x % y
    x = y
    y = r
print(x)



Fixed submission:
x,y =[int(i) for i in input().split()]
if x < y :
    t = x
    x = y
    y = t
while y > 0 :
    r = x % y
    x = y
    y = r
print(x)
Buggy python submission (verdict: Runtime Error):
import math;r=int(input());print(math.pi*(r**2),2*math.pi*r)

Fixed submission:
import math;r=float(input());print(math.pi*(r**2),2*math.pi*r)
Buggy python submission (verdict: Runtime Error):
x = raw_input()
print x ** 3

Fixed submission:
x = input()
y = x ** 3
print(y)

Buggy python submission (verdict: Runtime Error):
x = input()
x_int = int(x)
print x_int ** 3

Fixed submission:
x = input()
y = x ** 3
print(y)
Buggy python submission (verdict: Runtime Error):
input_lines = input()
input_i = input_lines.sprit()

print(input_i[0]*input_[1])
print(input_i[0]*2 + input_[1]*2)

Fixed submission:
input_lines = input()
input_i = input_lines.split(" ")
print(int(input_i[0])*int(input_i[1]),end=" ")
print((int(input_i[0])+int(input_i[1]))*2)
Buggy python submission (verdict: Runtime Error):
while True:
    i = input()
    if i == "0 0":
        break
    else:
        i.sort()
        print(i)

Fixed submission:
while True:
    i = input()
    if i == "0 0":
        break
    else:
        i_list = i.split()
        int_list = []
        int_list.append(int(i_list[0]))
        int_list.append(int(i_list[1]))
        int_list.sort()
        print(int_list[0],int_list[1])
Buggy python submission (verdict: Runtime Error):
r = int(input())
import math
print(math.pi*r**2,2*math.pi*r)

Fixed submission:
r = float(input())
pi = 3.14159265359
print("{:f}".format(pi*r**2),"{:f}".format(2*pi*r))

Buggy python submission (verdict: Runtime Error):
r = int(input())
import math
print("{:f}".format(math.pi*r**2),"{:f}".format(2*math.pi*r))

Fixed submission:
r = float(input())
pi = 3.14159265359
print("{:f}".format(pi*r**2),"{:f}".format(2*pi*r))

Buggy python submission (verdict: Runtime Error):
r = int(input())
pi = 3.14159265359
print("{:f}".format(pi*r**2),"{:f}".format(2*pi*r))

Fixed submission:
r = float(input())
pi = 3.14159265359
print("{:f}".format(pi*r**2),"{:f}".format(2*pi*r))
Buggy python submission (verdict: Runtime Error):
aaa


Fixed submission:
input = int(input())
print(input ** 3)

Buggy python submission (verdict: Runtime Error):
input = input()
return input ** 2

Fixed submission:
input = int(input())
print(input ** 3)

Buggy python submission (verdict: Runtime Error):
input = input()
print(input ** 2)

Fixed submission:
input = int(input())
print(input ** 3)

Buggy python submission (verdict: Runtime Error):
input = input()
return input ** 3

Fixed submission:
input = int(input())
print(input ** 3)

Buggy python submission (verdict: Runtime Error):
input = input()
print(input**3)

Fixed submission:
input = int(input())
print(input ** 3)

Buggy python submission (verdict: Runtime Error):
input = input()
print(input * input * input)

Fixed submission:
input = int(input())
print(input ** 3)

Buggy python submission (verdict: Runtime Error):
input= input()
print(input * input * input)

Fixed submission:
input = int(input())
print(input ** 3)

Buggy python submission (verdict: Runtime Error):
input = int(input())
output = input ** 3
return output

Fixed submission:
input = int(input())
print(input ** 3)
Buggy python submission (verdict: Runtime Error):
as, bs, cs = input().split(" ")

a = int(as)
b = int(bs)
c = int(cs)

if a < b < c:
  print("Yes")
else
  print("No")

Fixed submission:

ass, bss, css = input().split(" ")

a = int(ass)
b = int(bss)
c = int(css)

if a < b < c:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
as, bs, cs = input().split(" ")

a = int(as)
b = int(bs)
c = int(cs)

if a < b < c:
  print("Yes")
else:
  print("No")

Fixed submission:

ass, bss, css = input().split(" ")

a = int(ass)
b = int(bss)
c = int(css)

if a < b < c:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Time Limit Exceeded):
#ALDS_1_1_D Maximum Profit

N=int(input())
A=[]
for i in range(N):
    A.append(int(input())) 
MAX= A[1]-A[0]
for i in range(1,N):
    for j in range(i):
        MAX=max(MAX,A[i]-A[j])
print(MAX)


Fixed submission:
#ALDS_1_1_D Maximum Profit

N=int(input())
A=[]
for i in range(N):
    A.append(int(input())) 
MIN= A[0]
MAX= A[1]-A[0]
for i in range(1,N):
    MAX=max(MAX,A[i]-MIN)
    MIN=min(MIN,A[i])
print(MAX)

Buggy python submission (verdict: Runtime Error):
n=input()
 a = []
for i in range(n):
    a.append(int(raw_input())

max= -1*10**9
min = a[0]

for i in range(n-1):
  max = max(max, max - a[i])
  min = min(min, a[i])
 
print max
 

Fixed submission:
n = int(raw_input())
a = []
a.append(int(raw_input()))
Min = a[0]
Max = -1*10**9
for j in range(1,n):
    a.append(int(raw_input()))
    Max = max(Max,a[j]-Min)
    Min = min(Min,a[j])
print Max

Buggy python submission (verdict: Runtime Error):
n = input()
 a = []
  for i in range(n):
    l.append(int(raw_input())
 
  Min = a[0]
  Max = -1*10**9
  for j in range(1,N):
   Max = max(Max,a[j]-Min)
   Min = min(Min,a[j])
  print Max

Fixed submission:
n = int(raw_input())
a = []
a.append(int(raw_input()))
Min = a[0]
Max = -1*10**9
for j in range(1,n):
    a.append(int(raw_input()))
    Max = max(Max,a[j]-Min)
    Min = min(Min,a[j])
print Max

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
a = []
a.append(int(raw_input()))
Min = a[0]
Max = -1*10**9
for j in range(1,n):
    a.append(int(raw_input()))
    Max = max(Max,R[j]-Min)
    Min = min(Min,R[j])
print Max

Fixed submission:
n = int(raw_input())
a = []
a.append(int(raw_input()))
Min = a[0]
Max = -1*10**9
for j in range(1,n):
    a.append(int(raw_input()))
    Max = max(Max,a[j]-Min)
    Min = min(Min,a[j])
print Max
Buggy python submission (verdict: Runtime Error):
a=input()
b=input()

print a*b
print 2*a+2*b

Fixed submission:
a,b=map(int,raw_input().split())
print a*b,(a+b)*2

Buggy python submission (verdict: Runtime Error):
a=input()
b=input()
print a*b,2*a+2*b

Fixed submission:
a,b=map(int,raw_input().split())
print a*b,(a+b)*2

Buggy python submission (verdict: Runtime Error):
a,b=map(int,raw_input(),split())
print a*b,(a+b)*2

Fixed submission:
a,b=map(int,raw_input().split())
print a*b,(a+b)*2
Buggy python submission (verdict: Runtime Error):
S=raw_input()
print S/3600:(s%3600)/60:s-(s%3600)/60

Fixed submission:
S=input()
 
print str(S/3600)+':'+str((S%3600)/60)+':'+str(S%60)

Buggy python submission (verdict: Runtime Error):
S=raw_input()
print S/3600:(S%3600)/60:S-(S%3600)/60

Fixed submission:
S=input()
 
print str(S/3600)+':'+str((S%3600)/60)+':'+str(S%60)

Buggy python submission (verdict: Runtime Error):
S=input()
 
print S/3600+':'+(S%3600)/60+':'+S%60

Fixed submission:
S=input()
 
print str(S/3600)+':'+str((S%3600)/60)+':'+str(S%60)

Buggy python submission (verdict: Runtime Error):
S=input()
 
print str(S/3600)+':'+str(S%3600)/60+':'+str(S%60)

Fixed submission:
S=input()
 
print str(S/3600)+':'+str((S%3600)/60)+':'+str(S%60)

Buggy python submission (verdict: Runtime Error):
S=input()
 
print str(S/3600)+':'+str(S%3600)/60+':'+str(S%60)

Fixed submission:
S=input()
 
print str(S/3600)+':'+str((S%3600)/60)+':'+str(S%60)
Buggy python submission (verdict: Runtime Error):
l=map(int,raw_input().split())

if l[0]>l[1]:
 print 'a > b'
elif l[1]>l[0]:
 print 'a < b'
else:
 print 'a == b

Fixed submission:


l=map(int,raw_input().split())
 
if l[0]>l[1]:
 print 'a > b'
elif l[1]>l[0]:
 print 'a < b'
else:
 print 'a == b'