qyliang/CodeNanoFix huggingface dataset:
Buggy code:
# coding: utf-8
# Here your code !

x, y = [int(i) for i in input().split()]

alist = []

if (y > x) and (y - x) >= 0:
    alist.append(y - x)

if y < x:
    alist.append(abs(abs(x)-abs(y))+2)
    
if (abs(x) < abs(y) and x >= 0 and y <= 0):
    alist.append(abs(y)-abs(x)+1)

if (abs(x) > abs(y) and x <= 0 and y >= 0):
    alist.append(abs(x)-abs(y)+1)

if (abs(x) < abs(y) and x <= 0 and y >= 0):
    alist.append(abs(y) - abs(x) + 1)

if (abs(x) > abs(y) and x >= 0 and y <= 0):
    alist.append(abs(x) - abs(y) + 1)

if (abs(x) == abs(y)):
    alist.append(1)
    
print(alist)

Fixed code:
# coding: utf-8
# Here your code !

x, y = [int(i) for i in input().split()]

alist = []

if (y > x) and (y - x) >= 0:
    alist.append(y - x)

if y < x:
    alist.append(abs(abs(x)-abs(y))+2)
    
if (abs(x) < abs(y) and x >= 0 and y <= 0):
    alist.append(abs(y)-abs(x)+1)

if (abs(x) > abs(y) and x <= 0 and y >= 0):
    alist.append(abs(x)-abs(y)+1)

if (abs(x) < abs(y) and x <= 0 and y >= 0):
    alist.append(abs(y) - abs(x) + 1)

if (abs(x) > abs(y) and x >= 0 and y <= 0):
    alist.append(abs(x) - abs(y) + 1)

if (abs(x) == abs(y)):
    alist.append(1)
    
print(min(alist))
Buggy code:
x, y = map(int, input().split())
if abs(x) == abs(y):
    print(1)
elif (x < 0 and y > 0) or (x > 0 and y < 0):
    if x < y:
        print(y - x)
    else:
        print(x - y + 2)
else:
    print(x + y + 1)

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

a = abs(abs(x)-abs(y))

if (x < 0 and y <= 0 and abs(x) > abs(y)) or (x >= 0 and y >= 0 and abs(x)<abs(y)):
    b = 0
elif (x < 0 and y > 0) or (x >= 0 and y <= 0):
    b = 1
else:
    b = 2

print(a+b)
Buggy code:
from math import fabs
x, y = map(int, input().split())
if x*y > 0:
	if y >= x:
		print(y-x)
	else:
		print(x-y+2)
elif x*y == 0:
	if x <= y:
		print(y-x)
	else:
		print(int(fabs(fabs(x)-fabs(y))+1))


Fixed code:
from math import fabs
x, y = map(int, input().split())
ans = int(fabs(fabs(x)-fabs(y)))
if x*y >= 0 and x <= y:
	print(ans)
elif x*y < 0 or (x*y == 0 and y < x):
	print(ans+1)
else:
	print(ans+2)
Buggy code:
x, y = map(int, input().split())

if abs(x) == abs(y):
    print(1)
elif abs(x) < abs(y):
    if y > 0:
        if x >= 0:
            print(abs(x - y))
        else:
            print(abs(x - y) + 1)
    else:
        if x >= 0:
            print(abs(x - y) + 1)
        else:
            print(abs(x - y) + 2)
else:
    if x < 0:
        if y <= 0:
            print(abs(x - y))
        else:
            print(abs(x - y) + 1)
    else:
        if y <= 0:
            print(abs(x - y) + 1)
        else y >= 0:
            print(abs(x - y) + 2)

Fixed code:
x,y=map(int,input().split())
cnt=0
if x>=0:
    if y>0:
        if abs(x)>abs(y):
            cnt=2
    else:
        cnt=1
else:
    if y>0:
        cnt=1
    else:
        if abs(x)<abs(y):
            cnt=2
print(cnt+abs(abs(x)-abs(y)))
Buggy code:
a, op,  b = map(int, input().split())
if op =="+":
    print(a+b)
else:
    print(a-b)

Fixed code:

a, op,  b = map(str, input().split())
if op =="+":
    print(int(a)+int(b))
else:
    print(int(a)-int(b))
Buggy code:
A, op, B = map(str, inpit().split())
if op == "+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Fixed code:
A, op, B = map(str, input().split())
if op == "+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))
Buggy code:
a,b,c=input().split
if b=="-":
  print(int(a)-int(b))
else:
  print(int(a)+int(b))

Fixed code:
a,b,c=input().split()
if b=="-":
  print(int(a)-int(c))
else:
  print(int(a)+int(c))
Buggy code:
inp = input().split()
a=inp[0]
b=inp[2]
if inp[1]=='+':
  print(a+b)
else:
  print(a-b)

Fixed code:
inp = input().split()
a=int(inp[0])
b=int(inp[2])
if inp[1]=='+':
  print(a+b)
else:
  print(a-b)
Buggy code:
a,op,c = map(str,input(),split())
if op == "+":
	print(int(a) + int(b))
else:
	print(int(a) - int(b))

Fixed code:
a, b, c = map(str, input().split())
a = int(a)
c = int(c)
if b == '+':
  print(a+c)
else:
  print(a-c)
Buggy code:
a,b,c=map(str, input().split())
if b=="+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Fixed code:
a,b,c=map(str, input().split())
if b=="+":
  print(int(a)+int(c))
else:
  print(int(a)-int(c))
Buggy code:
a,b,c = map(str,input().split())
if b == '+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Fixed code:
a,k,b = map(str,input().split())

if k == '+' :
	print(int(a)+int(b))
else:
	print(int(a)-int(b))
Buggy code:
a,op,b=map(int,input().split())
if op=="+":
  print(a+b)
else:
  print(a-b)

Fixed code:
a,op,b = input().split()
if op =="+":
  print(int(a)+int(b))
else:
  print(int(a)-int(b))
Buggy code:
A, op, B = map(int, input().split())

if op == "+":
    print(A + B)

if op == "-":
    print(A - B)


Fixed code:
A, op, B = map(str, input().split())

if op == "+":
    print(int(A) + int(B))

if op == "-":
    print(int(A) - int(B))
Buggy code:
AopB=input().split()
if AopB[1]=='+':
  print(int(AopB[0]+int(AopB[2])))
else:
  print(int(AopB[0]-int(AopB[2])))


Fixed code:
AopB=input().split()
if AopB[1]=='+':
  print(int(AopB[0])+int(AopB[2]))
else:
  print(int(AopB[0])-int(AopB[2]))
Buggy code:
a,op,b=map(str,input().split())
A=int(a)
B=int(b)
if op="+":
  print(A+B)
else:
  print(A-B)

Fixed code:
a,op,b=map(str,input().split(" "))
if op=="+":
    print(int(a)+int(b))
else:
    print(int(a)-int(b))
Buggy code:
A, B, C = map(int, input().split())
print(A+C if B == "+" else A-C)

Fixed code:
A, B, C = map(str, input().split())
print(int(A)+int(C) if B=="+" else int(A)-int(C))
Buggy code:
A, op, B = map(int,input().split())
if op == '+':
    print(A+B)
else:
    print(A-B)


Fixed code:
A,op,B = input().split()
A = int(A)
B = int(B)
if op == '+':
  print(A + B)
else:
  print(A - B)
Buggy code:
a, op, b = input().split()
a = int(a)
b = int(b)
if op = '+':
  print(a + b)
else:
  print(a - b)

Fixed code:
a, op ,b = input().split()
if op == "+":
	print(int(a) + int(b))
else:
  	print(int(a) - int(b))
Buggy code:
A X B = map(int,input().split(' '))
if X == '+':
  print(int(A) + int(B))
else:
  print(int(A) - int(B))

Fixed code:
A,X,B = map(str,input().split(' '))
if X == '+':
  print(int(A) + int(B))
else:
  print(int(A) - int(B))
Buggy code:
a, b, c = map(str, input().split())
if b == "+":
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Fixed code:
a,op,b=map(str,input().split())
a,b=int(a),int(b)
if op=='+':
  print(a+b)
else:
  print(a-b)
Buggy code:
a, b, c = (int(i) for i in input().split())  
if b == "+":
  print(int(a) + int(c))
else:
  print(int(a) - int(c))


Fixed code:
a, b, c = (i for i in input().split())  
if b == "+":
  print(int(a) + int(c))
else:
  print(int(a) - int(c))
Buggy code:
a,b,c = input().split()

if b == "+":
    print(a+c)
else:
    print(a-c)

Fixed code:
a,b,c = input().split()

a = int(a)
c = int(c)

if b == "+":
    print(int(a)+c)
else:
    print(a-c)
Buggy code:
A, op, B = map(int, input().split())
if op == '+':
    print(A + B)
else:
    print(A - B)

Fixed code:
A, op, B = input().split()
if op=='+':
  print(int(A)+int(B))
else:
  print(int(A)-int(B))
Buggy code:
l=input().split()
print(l[0]+l[2] if l[1] == '+' else l[0]-l[2])

Fixed code:
l=input().split()
print(int(l[0])+int(l[2]) if l[1] == '+' else int(l[0])-int(l[2]))
Buggy code:
a, b, c = map(str, raw_input().split(","))
a = int(a)
c = int(c)
if b == "+":
    print a + c
else:
    print a - c


Fixed code:
a,b,c=map(str,input().split())
if b == "+":
  print(int(a)+int(c))
else:
  print(int(a)-int(c))
Buggy code:
a,op,b = map(str,input().split())
if op = '+':
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Fixed code:
a,op,b = map(str,input().split())
if op == '+':
    print(int(a)+int(b))
else:
    print(int(a)-int(b))
Buggy code:
n = input().split()
if n[1] == '+':
    print(int(n[0]+n[2]))
else:
    print(int(n[0]-n[2]))

Fixed code:
A = input().split()

if A[1] == "+" : print(int(A[0]) + int(A[2]))
else : print(int(A[0]) - int(A[2]))
Buggy code:
n = input().split()
if n[2] == '+':
    print(int(n[0]+n[4]))
else:
    print(int(n[0]-n[4]))

Fixed code:
n = input().split()
if n[1] == '+':
    print(int(n[0])+int(n[2]))
else:
    print(int(n[0])-int(n[2]))
Buggy code:
print(eval(''join(input().strip().split(' '))))

Fixed code:
print(eval(''.join(input().strip().split(' '))))
Buggy code:
instr = list(map(str, input().split()))
a = int(instr[0])
b = int(instr[2])
op = instr[1]
print (a, op, b) 
if op == "+":
  print (a+b)
else:
  print(a-b)

Fixed code:
instr = list(map(str, input().split()))
a = int(instr[0])
b = int(instr[2])
op = instr[1] 
if op == "+":
  print (a+b)
else:
  print(a-b)
Buggy code:
# -*- coding: utf-8

a, op, b = input().split()
if op == '+':
    print(a + b)
else:
    print(a - b)

Fixed code:
# -*- coding: utf-8

a, op, b = input().split()
if op == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))
Buggy code:
A,B,C=map(str,input().split())
if B=="+":
  print(A+C)
else:
  print(A-C)

Fixed code:
A,B,C=map(str,input().split())
if B=="+":
  print(int(A)+int(C))
else:
  print(int(A)-int(C))
Buggy code:
A, op, B = str(input()).split
A = int(A)
B = int(B)
op = str("+", "-")
if op =="+":
    print(A+B)
elif op == "-":
    print(A-B)


Fixed code:
A, op, B = input().split()

if op =="+":
    print(int(A) + int(B))
elif op == "-":
    print(int(A) - int(B))
Buggy code:
A, op, B = map(str, input().split())
if op == '+':
  print(int(A)+int(b))
else:
  print(int(A)-int(b))


Fixed code:
A, op, B = map(str, input().split())
if op == '+':
  print(int(A)+int(B))
else:
  print(int(A)-int(B))
Buggy code:
A,op,B=input().split()
if op=='+':
  print(A+B)
else:
  print(A-B)

Fixed code:
A, op, B = input().split()
if op == '+':
    print(int(A)+int(B))
else:
    print(int(A)-int(B))
Buggy code:
a,b,c = input().split())
if b = '+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Fixed code:
a,b,c = input().split()
if str(b) == '+':
  print(int(a)+int(c))
else:
  print(int(a)-int(c))
Buggy code:
a, op, b = map(input().split())
if op == '+':
  print(int(a)+int(b)
else:
  print(int(a)-int(b))

Fixed code:
a,op,b = map(str,input().split())

if op == '+':
    print(int(a)+int(b))
else:
    print(int(a)-int(b))
Buggy code:
A,op,B=input().strip().split()
if op=='+':
  print(A+B)
else:
  print(A-B)

Fixed code:
A,op,B=input().strip().split()
if op == '+':
  print(int(A)+int(B))
else:
  print(int(A)-int(B))
Buggy code:
a, op, b = input().split()
if op = '+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Fixed code:
a,op,b=input().split()
print(int(a)+int(b) if op == '+' else int(a)-int(b))
Buggy code:
A,op,B=list(map(int, input().split()))
if op=='+:'
  print(A+B)
else:
  print(A-B)

Fixed code:
A,op,B = map(str,input().split(" "))
if op == "+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))
Buggy code:
val = input().split()
if val[1] == "+":
    print(int(val[0]+int(val[2])))
else:
    print(int(val[0] - int(val[2])))

Fixed code:
input_line=input().split(" ")
if input_line[1]=="+":
    print(int(input_line[0])+int(input_line[2]))
else :
    print(int(input_line[0])-int(input_line[2]))
Buggy code:
a, op, b = input.split()
a = int(a)
b = int(b)
if op == '+':
  print(int(a + b))
else:
  print(int(a - b))
  

Fixed code:
a, op, b = input().split()
if op == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))
Buggy code:
A,op,B = [str(i) for i in input().split()]

if op == '+':
    ans = int(A)+int(B)
else:
    ans =int(A)-int(B)
    
    print(ans)

Fixed code:
A,op,B = [str(i) for i in input().split()]

if op == '+':
    ans = int(A)+int(B)
else:
    ans =int(A)-int(B)
    
print(ans)
Buggy code:
a,op,b=map(str,input().split())

if op=='+':
  print(int(a)+int(b))
else:
  print(int(a)*int(b))

Fixed code:
a,op,b=map(str,input().split())

if op=='+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))
Buggy code:
A, op, C = map(str, input().split())
if op == "+":
  print(int(A) + int(B))
else:
  print(int(A) - int(B))

Fixed code:
A, op, B = map(str, input().split())
if op == "+":
  print(int(A) + int(B))
else:
  print(int(A) - int(B))
Buggy code:
a ,b,c= map(str, input().split())
if b =="+":
    print(int(a)+int(b))
elif b =="-":
    print(int(a)-int(b))

Fixed code:
a ,b,c= map(str, input().split())
if b =="+":
    print(int(a)+int(c))
elif b =="-":
    print(int(a)-int(c))
Buggy code:
a, op, b = input().split()
if op = '+':
	ans = int(a)+int(b)
else:
	ans = int(a) - int(b)
print(ans)

Fixed code:
a, op, b = input().split(' ')
if op == '+':
    print(int(a)+int(b))
else:
    print(int(a)-int(b))
Buggy code:
a,b,c=map(str,input().split())
a=int(a)
c=int(c)
answer=0
if b=="+":
    print(a+c)
if c=="-":
    print(a-c)

Fixed code:
a,b,c=map(str,input().split())
a=int(a)
c=int(c)
answer=0
if b=="+":
    print(a+c)
if b=="-":
    print(a-c)
Buggy code:
A , op , B = map(int,input().split())
if op == "+":
	print(int(A) + int(B))
else:
	print(int(A) - int(B))

Fixed code:
A,op,B = input().split()
if op == "+":
    print(int(A)+int(B))
else:
    print(int(A)-int(B))
Buggy code:
a,b,c = input().split()
if b == "+":
    print(a+c)
else:
    print(a-b)

Fixed code:
a,b,c = input().split()
if b == '+':
    print(int(a)+int(c))
else:
    print(int(a)-int(c))
Buggy code:
a, b, c = map(str, input().split())
if b == '+':
  print(int(a) + int(b))
else if b =='-':
  print(int(a) - int(b))
else:
  print("Error")
 

Fixed code:
a, b, c = map(str, input().split())
if b == '+':
  print(int(a) + int(c))
elif b =='-':
  print(int(a) - int(c))
else:
  print("Error")
Buggy code:
A,op,B = input().split
A = int(A)
B = int(B)
if op=="+":
    print(A+B)
else:
    print(A-B)


Fixed code:
A,op,B = input().split()
A = int(A)
B = int(B)
if op=="+":
    print(A+B)
else:
    print(A-B)
Buggy code:
a, op, b = map(int, input().split())
if op == '+':
  print(a+b)
else:
  print(a-b)

Fixed code:
(a, op, b) = input().split()

if op == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))
Buggy code:
a,b,c=input().split()
a=int(a)
c=char(c)
b=int(b)
if c=='+' :
    print(a+b)
else
    print(a-b)

Fixed code:
a,b,c=input().split()
if b=="+":
  print(int(a)+int(c))
else:
  print(int(a)-int(c))
Buggy code:
data = input().split()
A = int(data[0])
B = int(data[2])
if op == '+':
	S =  A + B
else:
	S = A - B
print(S)


Fixed code:
data = input().split()
A = int(data[0])
B = int(data[2])
if data[1] == '+':
	S =  A + B
else:
	S = A - B
print(S)
Buggy code:
a, op, b = map(int, input().split())
op = str(op)
 
if op == "+":
  print(a+b)
else:
  print(a-b)

Fixed code:
a,o,b=map(str,input().split())
a=int(a)
b=int(b)
if o == '+':
  print(a+b)
else:
  print(a-b)
Buggy code:
A, op, B = input(),split()
if op is '+':
    print(int(A)+int(B))
if op is '-':
	print(int(A)-int(B))

Fixed code:
A, op, B = input().split()
if op is '+':
  print(int(A)+int(B))
if op is '-':
  print(int(A)-int(B))
Buggy code:
A, op, B = input().split()
if op = '+':
  print(int(A) + int(B))
else:
  print(int(A) - int(B))

Fixed code:
A, op, B = input().split()
if op == '+':
  print(int(A) + int(B))
else:
  print(int(A) - int(B))
Buggy code:
x1, op, x2 = input().split()

if op == "+":
  print(x1+x2)
else:
  print(x1-x2)

Fixed code:
x1, op, x2 = input().split()
 
if op == "+":
  print(int(x1)+int(x2))
else:
  print(int(x1)-int(x2))
Buggy code:
a,op,b = map(input().split())
if op == "+":
    print(int(a) + int(b))
else:
    print(int(a) -int (b))

Fixed code:
a,op,b = map(str, input().split())
if op == "+":
    print(int(a) + int(b))
else:
    print(int(a) - int(b))
Buggy code:
li = input().split()
if li[1] == "+":
  print(li[0] + li[2])
else :
  print(li[0] - li[2])

Fixed code:
li = input().split()
if li[1] == "+":
    print(int(li[0]) + int(li[2]))
else :
    print(int(li[0]) - int(li[2]))
Buggy code:
a,op,b = input().split("")
if(op=='+'):
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Fixed code:
a, op, b = input().split()
a, b = int(a), int(b)

if op == '+':
    print(a + b)
else:
    print(a - b)
Buggy code:
a,b,c= map(str,input().split())
a=int(a)
c=int(c)
if b=="+":
    print(a+c)
else:
    print(a-b)

Fixed code:
a,b,c= map(str,input().split())
a=int(a)
c=int(c)
if b=="+":
    print(a+c)
else:
    print(a-c)
Buggy code:
a, op, b = map(str, input().split(' '))
if op == '+':
    print(int(a) + int(b))
else:
    print(ans = int(a) - int(b))

Fixed code:
a, op, b = map(str, input().split(' '))
if op == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))
Buggy code:
A, op, B = map(str, input().split())

if op == '+':
    print(int(A) + int(B))
if op == '-':
    print(int(A)) - int(B)

Fixed code:
A, op, B = map(str, input().split())

if op == '+':
    print(int(A) + int(B))
if op == '-':
    print(int(A) - int(B))
Buggy code:
a,b,c = input ().split ()
a,b = int (a,b)
if b == '+':
  print (a+b)
else:
  print (a-b)


Fixed code:
a,b,c =(input().split())

a=int(a)
c=int(c)

if b=='+':
    print(a+c)

else:
    print(a-c)
Buggy code:
s = list(map(str,input().split()))
if s[1] == '+'
    print(int(s[0]) + int(s[2]))
else:
    print(int(s[0]) - int(s[2]))

Fixed code:
s = list(map(str,input().split()))
if s[1] == '+':
    print(int(s[0]) + int(s[2]))
else:
    print(int(s[0]) - int(s[2]))
Buggy code:
a, b, c = map(str, input().split())
a = int(a)
b = int(b)
print(a + b if op == "+" else a - b)

Fixed code:
a, op, b = map(str, input().split())
a = int(a)
b = int(b)
print(a + b if op == "+" else a - b)
Buggy code:
num = input().split()

a,b = int(num[0]), int(num[1])
if num[1]=='+': print(a+b)
else: print(a-b)

Fixed code:
num = input().split()

a,b = int(num[0]), int(num[2])
if num[1]=='+': print(a+b)
else: print(a-b)
Buggy code:
a,b,c=map(int,input().split())

if c=='+':
  print(a+c)
else:
  print(a-c)
  

Fixed code:
a,b,c=input().split(' ')

if b=='+':
  print(int(a)+int(c))
else:
  print(int(a)-int(c))
Buggy code:
a, b, c = input().split()
if b = '+':
  print(int(int(a) + int(c)))
else:
  print(int(int(a) - int(c)))

Fixed code:
a, b, c = input().split()
if b == '+':
  print(int(int(a) + int(c)))
else:
  print(int(int(a) - int(c)))
Buggy code:
a, op, b =[i for i in input()]
if op == "+":
  print(int(a) + int(b))
else:
  print(int(a) - int(b))

Fixed code:
a, op, b =[i for i in input().split()]
if op == "+":
  print(int(a) + int(b))
else:
  print(int(a) - int(b))
Buggy code:
A, Op, B = input().split()
A = int(A)
B = int(B)
 
if A == '+':
    print(A+B)
elif Op == '-':
    print(A-B)

Fixed code:
A, Op, B = input().split()
A = int(A)
B = int(B)
 
if Op == '+':
    print(A+B)
elif Op == '-':
    print(A-B)
Buggy code:
a, op, b = list(input().split())
if op == '+':
  ans = a + b
else:
  ans = a - b
print(ans)


Fixed code:
a, op, b = list(input().split())
a, b = int(a), int(b)
if op == '+':
  ans = a + b
else:
  ans = a - b
print(ans)
Buggy code:
a, b, c = map(str, input().str())
a = int(a)
c = int(c)

if b=="+":
    print(int(a+c))
else:
    print(int(a-c))

Fixed code:
a, b, c = map(str, input().split())
a = int(a)
c = int(c)

if b=="+":
    print(int(a+c))
else:
    print(int(a-c))
Buggy code:
a,s,d=map(input().split())
if s=="+":
  print(int(a)+int(d))
else:
  print(int(a)-int(d))

Fixed code:
a,s,d=input().split()
if s=="+":
  print(int(a)+int(d))
else:
  print(int(a)-int(d))
Buggy code:
a,b,c = input().split()
if b == "+":
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Fixed code:
a,b,c=input().split()
a=int(a)
c=int(c)
if b=="+":
	print(a+c)
else:
	print(a-c)
Buggy code:
import sys
s = sys.stdin.readline()
print eval(s)

Fixed code:
import sys
s = sys.stdin.readline()
print(eval(s))
Buggy code:
data = input().split()

if data[1] = "+":
    print int(data[0] + data[2])
else
    print int(data[0] - data[2])

Fixed code:
data = input().split()

if data[1] in "+":
    print(int(data[0]) + int(data[2]))
else:
    print(int(data[0]) - int(data[2]))
Buggy code:
A,op,B=(int(x) for x in input().split())
if(op=="+"):
    print(A+B)
else:
    print(A-B)


Fixed code:
A,op,B=(x for x in input().split())
A1=int(A)
B1=int(B)
if(op=="+"):
    print(A1+B1)
else:
    print(A1-B1)
Buggy code:
A, B = map(int, input().split())

op = input()

if op ==  "+":
    print(A + B)
else :
    print(A - B)

Fixed code:
A,op,  B = input().split()

if op ==  "+":
    print(int(A) + int(B))
else:
    print(int(A) - int(B))
Buggy code:
a,b,c=input().split()
if b=='+0':print(int(a)+int(c))
else:print(int(a)-int(c))

Fixed code:
a,b,c=input().split()
if b=='+':print(int(a)+int(c))
else:print(int(a)-int(c))
Buggy code:
a, op, b = input().split()
if op == '+':
  print(int(a)+int(b))
else:
  print(int(a)+int(b))

Fixed code:
a,op,b=input().split()

if op == '+':
    print(int(a)+int(b))
else:
    print(int(a)-int(b))
Buggy code:
a, o, b = input().split()
if o = '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))

Fixed code:
a,o,b=input().split()
if o=='+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))
Buggy code:
a,b,c=input().split()
a=int(a)
b=int(b)
if b=='-':
  print(a-c)
else:
  print(a+b)

Fixed code:
a,b,c=input().split()
print(int(a)+int(c)) if b=='+' else print(int(a)-int(c))
Buggy code:
a,b,c=list(input().split())
if b=="+":
        print(int(a)+int(c))
else:
        print(int(a)+int(c))   

Fixed code:
a,b,c=list(input().split())
if b=="+":
        print(int(a)+int(c))
else:
        print(int(a)-int(c))
Buggy code:
A, op, B = input().split()

num_A = int(A)
num_B = int(B)
if op == '+':
    print(num_A + numb_B)
else:
    print(num_A - num_B)

Fixed code:
A, op, B = input().split()

num_A = int(A)
num_B = int(B)
if op == '+':
    print(num_A + num_B)
else:
    print(num_A - num_B)
Buggy code:
a=input().split()
if a[1]=="+":
        print(a[0]+a[2])
else:
        print(a[0]-a[2])        


Fixed code:
a = input().split()

if a[1] == "+":
  print(int(a[0]) + int(a[2]))
else:
  print(int(a[0]) - int(a[2]))
Buggy code:
st=input().split()
A=int(st[0])
B=int(st[1])
op=st[2]
if op=="+":
  print(A+B)
else:
  print(A-B)


Fixed code:
st=input().split()
A=int(st[0])
B=int(st[2])
op=st[1]
if op=="+":
  print(A+B)
else:
  print(A-B)
Buggy code:
a, b, c = map(int, input().split())
if b == "+":
    print(a + c)
else:
    print(a-c)

Fixed code:
a,b,c = list(map(str,input().split()))
a = int(a)
c = int(c)

if str(b) == '+':
  print(a+c)
else:
  print(a-c)
Buggy code:
a, b, c = input().split()
if b == '+':
  print(a+c)
else:
  print(a-c)

Fixed code:
a, b, c = input().split()
if b == '+':
  print(int(a)+int(c))
else:
  print(int(a)-int(c))
Buggy code:
A op B = input().split()
if op == "+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Fixed code:
A, op, B = input().split()
if op == "-":
    print(int(A) - int(B))
else:
    print(int(A) + int(B))
Buggy code:
a,b,c=map(str,input().split())
if b=='-':
  print(int(a)-int(c))
else:
  print(int(a)+int(b))

Fixed code:
a,b,c=map(str,input().split())
if b=='-':
  print(int(a)-int(c))
else:
  print(int(a)+int(c))
Buggy code:
a,op,b=input().split()
if op='+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Fixed code:
a,op,b=input().split()
if op=='+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))
Buggy code:
A,op,B=input().split()

if op=='+':
  print(int(A)+int(B))
else:
  print(int(-A)-int(B))

Fixed code:
A,op,B=input().split()

if op=='+':
  print(int(A)+int(B))
else:
  print(int(A)-int(B))
Buggy code:
a,x,b = map(str,input().split())
if x== '+':
    print(int(a)+int(b))
elif x== '+':
    print(int(a)-int(b))

Fixed code:
a,x,b = map(str,input().split())
if x== '+':
    print(int(a)+int(b))
elif x== '-':
    print(int(a)-int(b))
Buggy code:
a, o, b = map(int, input().split())

if o == "+":
	print(a + b)
else:
	print(a - b)

Fixed code:
a, o, b = input().split()
if o == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))
Buggy code:
a,b,c=input().split()
if b=="+":
print(int(a)+int(c))
else:
print(int(a)-int(c))


Fixed code:
a,b,c=input().split()
if b=="+":
    print(int(a)+int(c))
else:
    print(int(a)-int(c))
Buggy code:
a = input().split()
if s[1] = '+':
    print(int(a[0])+int(a[2]))
else:
    print(int(a[0])-int(a[2]))

Fixed code:
s=input().split()
ans=0
if s[1]=='+':
    ans=(int)(s[0])+(int)(s[2])
else:
    ans=(int)(s[0])-(int)(s[2])
print(ans)
Buggy code:
l = input().split()
if l[1] = "+":
  print(int(l[0])+int(l[2]))
else:
  print(int(l[0])-int(l[2]))

Fixed code:
l = input().split()
if l[1] == "+":
  print(int(l[0])+int(l[2]))
else:
  print(int(l[0])-int(l[2]))