qyliang/CodeNanoFix huggingface dataset:
Buggy code:
x, a, b = input().split()
x = int(x)
a = int(a)
b = int(b)
print("x = ", x)
print("a = ", a)
print("b = ", b)

if x < a:
    distance_xa = a - x
else:
    distance_xa = x - a
print("distance_xa = ", distance_xa)

if x < b:
    distance_xb = b - x
else:
    distance_xb = x - b
print("distance_xb = ", distance_xb)

if distance_xa < distance_xb:
    print("A")
else:
    print("B")


Fixed code:
x, a, b = input().split()
x = int(x)
a = int(a)
b = int(b)
 #print("x = ", x)
 #print("a = ", a)
 #print("b = ", b)

if x < a:
    distance_xa = a - x
else:
    distance_xa = x - a
 #print("distance_xa = ", distance_xa)

if x < b:
    distance_xb = b - x
else:
    distance_xb = x - b
 #print("distance_xb = ", distance_xb)

if distance_xa < distance_xb:
    print("A")
else:
    print("B")
Buggy code:
x,a,b=map(int,input().split())
if abs(x-a) < abs(x-b):
    print("A")
else:
    pring("B")

Fixed code:
x, a, b = list(map(int, input().split()))
if(abs(x - a) < abs(x - b)):
    print("A")
else:
    print("B")
Buggy code:
a,b,c=map(int,input().split())
if abs(a-b)<abs(a-c):
  prinnt('A')
else:
  print('B')

Fixed code:
a,b,c=map(int,input().split())
if abs(a-b)<abs(a-c):
  print('A')
else:
  print('B')
Buggy code:
x,a,b=map(int,input().split())
print('A' if abs(x-a)>abs(x-b) else 'B')

Fixed code:
x,a,b=map(int,input().split())
if abs(a-x)>abs(b-x):
    print("B")
else:
    print("A")
Buggy code:
X, A, B = [int(s) for s in input().split()]
print('A' if abs(X - A) > abs(X - B) else 'B')

Fixed code:
X, A, B = [int(s) for s in input().split()]
print('A' if abs(X - A) < abs(X - B) else 'B')
Buggy code:
x, a, b = map(int, input().split())
A = abs(a - x)
B = abs(b - x)
if A > B:
  print('A')
else:
  print('B')

Fixed code:
x, a, b = map(int, input().split(" "))

if abs(x-a) < abs(x-b):
    print("A")
else:
    print("B")
Buggy code:
x, a, b = map(int, input().split())
if abs(x-a) < abs(x-b):
  pirnt("A")
else:
  print("B")

Fixed code:
x,a,b=map(int,input().split())
print("A" if abs(a-x) < abs(b-x) else "B")
Buggy code:
x,a,b = map(int,input().split())
if abs(x-a) > abs(x-b):
  print('A')
else:
  print('B')

Fixed code:
x, a, b = list(map(int, input().split()))
if abs(x - a) > abs(x - b):
	print("B")
else:
	print("A")
Buggy code:
x,a,b=map(int,input().split())
disA=abs(x-a)
disB=abs(x-b)
if disA>disB:
  print(B)
else:
  print(A)

Fixed code:
x,a,b=map(int,input().split())
disA=abs(x-a)
disB=abs(x-b)
if disA>disB:
  print('B')
else:
  print('A')
Buggy code:
x,a,b=map(int,input().split())
    if abs(x-a)<abs(b-x):
        print('A')
    else:
        print('B')


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

if abs(x - a) < abs(x -b):
  print("A")
else:
  print("B")
Buggy code:
x,a,b = map(int, input().split())
A = max(x,a) - min(x,a)
B = max(x,b - min(x,b)
if A > B:
    print("B")
else:
    print("A")

Fixed code:
x,a,b = map(int, input().split())
A = max(x,a) - min(x,a)
B = max(x,b) - min(x,b)
if A > B:
    print("B")
else:
    print("A")
Buggy code:
x, a, b = int(input().split())

if abs(x - a) < abs(x- b):
    print("A")
else :
    print("B")

Fixed code:
x, a, b = map(int, input().split())
if abs(a-x) < abs(b-x):
    print("A")
else:
    print("B")
Buggy code:
x,a,b = map(int, input().split())
if (abs(x-a) > abc(x-b)):
    print("A")
else:
    print("B")

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

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

Fixed code:
a,b,c=map(int,input().split())
if abs(a-b)<abs(a-c):
  print("A")
else:
  print("B")
Buggy code:
x, a, b = map(int, input().split())
print("A" if abs(x - a) < abs(x - b) else "No")

Fixed code:
x, a, b= map(int, input().split())
A = abs(x-a)
B = abs(x-b)
print("A" if A<B else "B")
Buggy code:
x,a,b = map(int,input().split())
if abs(x-a) >= abs(x-b):
  print('A')
else:
  print('B')

Fixed code:
x,a,b=map(int,input().split())
c=abs(x-a)
d=abs(x-b)
if c > d:
  print("B")
else:
  print("A")
Buggy code:
x,a,b=map(int,input().split())
if abs(a-t) > abs(b-t):
  print('B')
else:
  print('A')

Fixed code:
x,a,b=map(int,input().split())
print("B"if abs(a-x)>=abs(b-x) else "A")
Buggy code:
l=list(map(int,input().split()))
if abs(l[1]-l[0])-abs(l[2]-l[0])>=0:
  print("A")
else:
  print("B")

Fixed code:
l=list(map(int,input().split()))
if abs(l[1]-l[0])-abs(l[2]-l[0])<=0:
  print("A")
else:
  print("B")
Buggy code:
a=input().strip().split(" ")

b=[int(i) for i in a]

A=abs(b[0]-b[1])
B=abs(b[0]-b[2])

if(A>B):
    print(B)
else:
    print(A)


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

b=[int(i) for i in a]

A=abs(b[0]-b[1])
B=abs(b[0]-b[2])

if(A>B):
    print("B")
else:
    print("A")
Buggy code:
x,a,b=map(int,input().split())
if abs(x-a)>abs(x-b):
    print("A")
else:
    print("B") 

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

if abs(x-a) > abs(x-b):
    print("B")
else:
    print("A")
Buggy code:
x,a,b = map(int, input().split())
print("A") if abs(x-a) > abs(x-b) else print("B")

Fixed code:
x,a,b=map(int,input().split())
a=abs(x-a)
b=abs(x-b)
if a>b: print("B")
else: print("A")
Buggy code:
x,a,b=map(int,input().split())
if abs(x-a)<abs(x-b):
    pirnt('A')
else:
    print('B')


Fixed code:
x,a,b = map(int,input().split())
print('A' if abs(x-a)<abs(x-b) else 'B')
Buggy code:
x, a, b=map(int, input().split())
if abs(x-a)>abs(x-b):
  print("A")
else:
  print("B")

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

if abs(a-x)<abs(b-x):
    print("A")
else:
    print("B")
Buggy code:
a,b,c=map(int,input().split())
print("A") if abs(a-b)>abs(a-c) else print("B")

Fixed code:
a,b,c=map(int,input().split())
print("A") if abs(a-b)<abs(a-c) else print("B")
Buggy code:
x, a, b = map(int, input().split())
if abs(x - a) < abs(x - b):
  print(A)
else:
  print(B)

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

print('A' if abs(x-a)<abs(x-b) else 'B')
Buggy code:
x,a,b= map(int, input().split())
if abs(x-a) > abs(x-b):
    print("A")
else:
    print("B")

Fixed code:
x,a,b= map(int, input().split())
if abs(x-a) < abs(x-b):
    print("A")
else:
    print("B")
Buggy code:
x, a, b = list(map(int, input().split())
print("a" if abs(x-a) < abs(x-b) else "b")

Fixed code:
x, a, b = list(map(int, input().split()))
print("A" if abs(x-a) < abs(x-b) else "B")
Buggy code:
def main():
  x, a, b = map(int, input().split())


  if abs(a-x) > abs(b-x):
    print('A')
    return
  print('B')

if __name__ == '__main__':
  main()

Fixed code:
def main():
  x, a, b = map(int, input().split())


  if abs(a-x) > abs(b-x):
    print('B')
    return
  print('A')

if __name__ == '__main__':
  main()
Buggy code:
a, b, c = [int(x) for x in input().split()] 

if a - b > a - c:
   print("B")
else:
   print("A")

Fixed code:
a, b, c = [int(x) for x in input().split()] 

if abs(a - b) > abs(a - c):
   print("B")
else:
   print("A")
Buggy code:
x,a,b = map(int,input().split())
if abs(x-a)>abs(x-b):
	print("A")
else:
	print("B")


Fixed code:
x, a, b = map(int,input().split())
if abs(x - a) < abs(x - b):
  print("A")
else:
  print("B")
Buggy code:
x,a,b = map(int,input().split())
if (a-x)>(b-x):
	print("A")
else:
	print("B")


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

a=a-x
b=b-x

if a<b:
    print("A")

else:
    print("B")
    

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

a = abs(x-a)
b = abs(x-b)

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

Fixed code:
a,b,c=map(int,input().split())
if abs(b-a)>=abs(c-a):
  print("B")
else:
  print("A")
Buggy code:
x, a, b = map(int,input().split())
ans = "A"
if(x-a > x-b):
  ans = "B"
print(ans)

Fixed code:
x, a, b = map(int,input().split())
ans = "A"
if(abs(x-a) > abs(x-b)):
  ans = "B"
print(ans)
Buggy code:
x, a, b = map(int, input().split())
if abs(x - a) > abs(x - b):
  print("A")
else:
  print("B")

Fixed code:
x, a, b = map(int,input().split())
A = abs(x - a)
B = abs(x - b)
if(A < B):
  print('A')
else:
  print('B')
Buggy code:
#from time import time
#t = time()
nvm = input().split(' ')
if int(nvm[1]) - int(nvm[0]) > int(nvm[1]) - int(nvm[2]):
    print('A')
else:
    print('B')

#print(mn[0] * mm[1])
#tt= time()
#print(tt-t)

Fixed code:
#from time import time
#t = time()
nvm = input().split(' ')
if abs(int(nvm[0]) - int(nvm[1])) < abs(int(nvm[0]) - int(nvm[2])):
    print('A')
else:
    print('B')

#print(mn[0] * mm[1])
#tt= time()
#print(tt-t)
Buggy code:
# coding: utf-8
x,a,b=map(int,input().split())
print('A' if abs(x-a)>abs(x-b) else 'B')

Fixed code:
# coding: utf-8
x,a,b=map(int,input().split())
print('A' if abs(x-a)<abs(x-b) else 'B')
Buggy code:
x, a, b = map(int, input().split())
if (abs(x - a) < abs(x - b):
    print('A')
else:
    print('B')

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

print("A" if abs(a - x) < abs(b - x) else "B")
Buggy code:
x,a,b=map(int,input().split())
ad=abs(x-a)
bd=abs(x-b)

if ad > bd:
    print("A")
elif ad < bd
    print("B")

Fixed code:
x, a, b = map(int, input().split())
if abs(x - a) < abs(x - b):
    print("A")
elif abs(x - a) > abs(x - b):
    print("B")
Buggy code:
# -*- coding: utf-8 -*-


def main():
    """Function."""
    x, a, b = map(int, input().split())
    if abs(a - x) < abs(b - x):
        print("A")
    else:
        print("b")


if __name__ == "__main__":
    main()


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


def main():
    """Function."""
    x, a, b = map(int, input().split())
    if abs(a - x) < abs(b - x):
        print("A")
    else:
        print("B")


if __name__ == "__main__":
    main()
Buggy code:
x,a,b = map(int.input().split())
if abs(x-a) > abs(x-b):
    print('B')
else:
    print('A')

Fixed code:
x,a,b=list(map(int,input().split()))
if abs(x-a) > abs(x-b):
    print("B")
else:
    print("A")
Buggy code:
x,a,b = map(int,input().split())

print("A" if abs(x-a)>abs(x-b) else "B")

Fixed code:
x,a,b = map(int,input().split())
print('A' if abs(a-x)<=abs(b-x) else 'B')
Buggy code:
x,a,b = map(int, input().split())
if abs(x-a)>abs(x-b):
    print("A")
else:
    print("B")

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

if abs(x-a) > abs(x-b) :
    print("B")
else :
    print("A")
Buggy code:
x,a,b=map(int,input().split())
print(['B','A'][abs(x-b)<abs(x-a)])

Fixed code:
x,a,b=map(int,input().split())
print(['B','A'][abs(x-b)>abs(x-a)])
Buggy code:
x, a, b = map(int, input().split())
if abs(x-a) < abs(x-b):
  print(A)
else:
  print(B)

Fixed code:
x, a, b = map(int, input().split())
if abs(a-x) < abs(b-x):
    print('A')
else:
    print('B')
Buggy code:
import math
x,a,b = list(map(int, input().split()))
print('A' if math.fabs(x-a) > math.fabs(x-b) else 'B')

Fixed code:
import math
x,a,b = list(map(int, input().split()))
print('A' if math.fabs(x-a) < math.fabs(x-b) else 'B')
Buggy code:
list = list(map(int,input().split()))

x=list[0]
a=list[1]
b=list[2]

if a>x:
    s=a-x
else:
    s=x-a

if b>x:
    t=b-x
else:
    t=x-b
    
if s<t:
    print('B')
else:
    print('A')

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

x=list[0]
a=list[1]
b=list[2]

if a>x:
    s=a-x
else:
    s=x-a

if b>x:
    t=b-x
else:
    t=x-b
    
if s<t:
    print('A')
else:
    print('B')
Buggy code:
x, a, b = map(int, input().split())
if abs(a-x) < abs(b-x):
  print('A')
elif:
  print('B')

Fixed code:
x,a,b=map(int,input().split())
A=abs(x-a)
B=abs(x-b)
if A<B: print("A")
else: print("B")
Buggy code:
x,a,b = map(int,input().split(' '))
c = x-a
d = x-b
if c<0:
	c = -c
if d<0:
	d = -c
if c<d:
	print('A')
else:
	print('B')


Fixed code:
x,a,b = map(int,input().split(' '))
c = a-x
d = b-x

if c<0:
	e = -c
else:
	e = c

if d<0:
	f = -d
else:
	f = d


if e<f:
	print('A')
else:
	print('B')
Buggy code:
x, a, b = map(int, input.split())
print("A" if max(x, a) - min(x, a) < max(x, b) - min(x, b) else "B")

Fixed code:
x, a, b = map(int, input().split())
print("A" if max(x, a) - min(x, a) < max(x, b) - min(x, b) else "B")
Buggy code:
x,a,b=[int(s) for s in input().split()]
if abs(a-x)<abs(b-x):
  print('A'):
else:
  print('B')

Fixed code:
x,a,b=[int(s) for s in input().split()]
if abs(a-x)<abs(b-x):
  print('A')
else:
  print('B')
Buggy code:
x,a,b=map(int,input().split())
print("A" if |x-a|<|x-b| else "B")

Fixed code:
x, a, b = map(int, input().split())
print('A' if abs(x-a)<abs(x-b) else 'B')
Buggy code:
x, a, b = map(int, input().split())

if abs(a-x) > abs(b-x):
  print("A")
else:
  print("B")

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

Fixed code:
x, a, b = map(int, input().split())
a = abs(x - a)
b = abs(x - b)

if a < b:
    print('A')
else:
    print('B')
Buggy code:
x,a,b = map(int, input())
if abs(x -a) > abs(x - b):
    print("B")
else:
    print("A")


Fixed code:
x, a, b=map(int,input().split())
if abs(x-a)>abs(x-b):
    print ('B')
else:
    print ('A')
Buggy code:
A, B, X = map(int, input().split())
if (A - X) * (A - X) < (B - X) * (B - X) : print('A')
else : print('B')

Fixed code:
X, A, B = map(int, input().split())
if (A - X) * (A - X) < (B - X) * (B - X) : print('A')
else : print('B')
Buggy code:
x, a, b = map(int, input().split())

if abs(a - x) > abs(b - x):
    print("A")
else:
    print("B")


Fixed code:
x,a,b = tuple(map(int,input().split()))

if abs(a-x)>abs(b-x):
  print('B')
else:
  print('A')
Buggy code:
x, a, b = map(int, input().split())

if abs(a-x) < abs(b-x):
    print("B")
else:
    print("A")
    

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

if abs(a - x) > abs(b - x):
    print("B")
else:
    print("A")
Buggy code:
x, a, b = map(int, input().split())

if abs(a-x) < abs(b-x):
    print(B)
else:
    print(A)
    

Fixed code:
x,a,b=map(int,input().split())
A,B=abs(x-a),abs(x-b)
if A<B:
    print("A")
if B<A:
    print("B")
Buggy code:
x, a, b = map(int, input().split())
print(['B', 'A'][abs(x - a) > abs(x - b)])

Fixed code:
x, a, b = map(int, input().split())
print(['A', 'B'][abs(x - a) > abs(x - b)])
Buggy code:
x,a,b=map(int,input().split())
if abs(x-a)<abs(x-b):
  print("A")
else print("B")

Fixed code:
x, a, b=map(int, input().split())
if abs(x-a)<abs(x-b):
    print("A")
else:
    print("B")
Buggy code:
n=input().rstrip().split()
n=[int(x) for x in n]

if abs(n[1]-n[0])>abs(n[2]-n[0]):
  print("A")
else:
  print("B")

Fixed code:
n=input().rstrip().split()
n=[int(x) for x in n]

if abs(n[1]-n[0])<abs(n[2]-n[0]):
  print("A")
else:
  print("B")
Buggy code:
x, a, b = map(int, input().split())

if abs(x - a) < abs(x - b):
    print(A)
else:
    print(B)


Fixed code:
x, a, b = map(int, input().split())
if abs(x - a) < abs(x - b):
    print ("A")
else:
    print ("B")
Buggy code:
from sys import stdin

x, a, b = map(int, stdin.readline().split())
print('A' if abs(a - x) > abs(b - x) else "B")

Fixed code:
from sys import stdin

x, a, b = map(int, stdin.readline().split())
print('A' if abs(a - x) < abs(b - x) else "B")
Buggy code:
x,a,b=input().split()
x=int(x)
a=int(a)
b=int(b)
if x<a:
 distance_xa=a-x
else:
 distance_xa=x-a

if x<b:
 distance_xb=b-x
else:
 distance_xb=x-b

if distance_xa>distance_xb:
 print("A")
else:
 print("B")

Fixed code:
x,a,b=input().split()
x=int(x)
a=int(a)
b=int(b)
if x<a:
 distance_xa=a-x
else:
 distance_xa=x-a

if x<b:
 distance_xb=b-x
else:
 distance_xb=x-b

if distance_xa > distance_xb:
 print("B")
else:
 print("A")
Buggy code:
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
if (a-b)>=(c-a):
  print("A")
else:
  print("B")

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

Fixed code:
x,a,b=map(int,input().split())
if abs(x-a)>=abs(x-b):
  print('B')
else:
  print('A')
Buggy code:
x,a,b=map(int,input().split())
if abs(x-a)>=abs(x-b)
  print('B')
else:
  print('A')


Fixed code:
x,a,b = map(int,input().split())
A = abs(a-x) 
B = abs(b-x)

if A < B:
    print("A")
else:
    print("B")
Buggy code:
x, a, b = map(int, input().split())
if abs(a-x) < abs(b-a):
  print("A")
else:
  print("B")

Fixed code:
x, a, b = list(map(int, input().split()))
if abs(a-x) < abs(b-x):
  print('A')
else:
  print('B')
Buggy code:
x, a, b = map(int, input().split())
A = abs(x-a)
B = abs(x-b)
if A>B:
  print("A")
else:
  print("B")

Fixed code:
x, a, b = map(int, input().split())
if abs(x-a) > abs(x-b): print('B')
else: print('A')
Buggy code:
x,a,b=map(int,input().split())
a_x=abs(a,x)
b_x=abs(b,x)
if a_x<b_x:
    print("A")
else:
    print("B")

Fixed code:
x,a,b=map(int,input().split())
a_x=abs(a-x)
b_x=abs(b-x)
if a_x<b_x:
    print("A")
else:
    print("B")
Buggy code:
a,b,c=map(int,input().split())
print('A' if abs(a,b)<abs(a,c) else 'B')

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

Fixed code:
a,b,c=map(int,input().split())
print("A" if abs(a-b)<abs(a-c) else "B")
Buggy code:
x, a, b = map(int, input().split())
xa = abs(x-a)
xb = abs(x-b)
if xa < xb:
  print(A)
elif xa > xb:
  print(B)

Fixed code:
x, a, b = map(int, input().split())
xa = abs(x-a)
xb = abs(x-b)
if xa < xb:
  print("A")
elif xa > xb:
  print("B")
Buggy code:
x,a,b = map(int, input().split())
if x-a>x-b:
    print('B')
else:
    print('A')

Fixed code:
x,a,b = map(int, input().split())
if abs(x-a)>abs(x-b):
    print('B')
else:
    print('A')
Buggy code:
import sys

def main():
    input = sys.stdin.readline
    x, a, b = map(int, input().split())

    if abs(a - x) >= abs(b - x):
        return 'A'
    else:
        return 'B'


if __name__ == '__main__':
    print(main())


Fixed code:
import sys

def main():
    input = sys.stdin.readline
    x, a, b = map(int, input().split())

    if abs(a - x) <= abs(b - x):
        return 'A'
    else:
        return 'B'


if __name__ == '__main__':
    print(main())
Buggy code:
x,a,b = map(int,input().split())
if x - a >= x - b:
  print('A')
else:
  print('B')

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

Fixed code:
x,a,b=map(int,input().split())
if abs(x-a)<abs(x-b):print('A')
else:print('B')
Buggy code:
#ABC071A
import math
x, a, b =list(map(int, input().split()))

ax = math.abs(a-x)
bx = math.abs(b-x)

if (ax < bx): print("A")
else: print('B')

Fixed code:
#ABC071A
import math
x, a, b =list(map(int, input().split()))

ax = math.fabs(a-x)
bx = math.fabs(b-x)

if (ax < bx): print("A")
else: print('B')
Buggy code:
x, a, b = list(map(int, input().split()))

if abs(a-x) > abs(b-x):
	print('A')
else:
	print('B')

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

if abs(a-x) < abs(b-x):
	print('A')
else:
	print('B')
Buggy code:
a = list(map(int,input().split()))
b = abs(a[0] - a[1])
c = abs(a[0] - a[2])
if b <= c:
  print("B")
else:
  print("C")

Fixed code:
a = list(map(int,input().split()))
b = abs(a[0] - a[1])
c = abs(a[0] - a[2])
if b <= c:
  print("A")
else:
  print("B")
Buggy code:
#71a
x,a,b=map(int,input().split())
print('A' if abs(x-a)<(x-c) else 'B')

Fixed code:
#71a
x,a,b = map(int,input().split())
print('A' if abs(x-a)<abs(x-b) else 'B')
Buggy code:
x, a, b = map(int, input().split())
ax = abs(a-x)
bx = abs(b-x)
if ax > bx:
  print(B)
else:
  print(A)

Fixed code:
x, a, b = map(int, input().split())
ax = abs(a-x)
bx = abs(b-x)
if ax > bx:
  print('B')
else:
  print('A')
Buggy code:
a,b,c = map(int,input().split())

if abs(a-b) > abs(a-c):
    print('A')
else:
    print('B')

Fixed code:

x, a, b = map(int, input().split())

if abs(x-a) > abs(x-b):
    print("B")
else:
    print("A")
Buggy code:
location_list = list(map(int, input().split()))

ax_length = abs(location_list[0] - location_list[1])
bx_length = abs(location_list[0] - location_list[2])

if ax_length > bx_length:
    print('A')
else:
    print('B')


Fixed code:
location_list = list(map(int, input().split()))

ax_length = abs(location_list[0] - location_list[1])
bx_length = abs(location_list[0] - location_list[2])

if ax_length < bx_length:
    print('A')
else:
    print('B')
Buggy code:
lst = list(map(int, input().split()))

x = lst[0]
a = lst[1]
b = lst[2]

if abs(b-x) > (a-x):
    return "A"
else:
    return "B"

Fixed code:
lst = list(map(int, input().split()))

x = lst[0]
a = lst[1]
b = lst[2]

if abs(b-x) > abs(a-x):
    print("A")
else:
    print("B")
Buggy code:
n = str(input())
m = n[::-1]
print(n)
print(m)
if n == m:
    print("Yes")
else:
    print("No")


Fixed code:
n = str(input())
m = n[::-1]
if n == m:
    print("Yes")
else:
    print("No")
Buggy code:
a=input()
if a[0]==c[2]:
  print("Yes")
else:
  print("No")

Fixed code:
a = input()
if a[0] == a[2]:
    print("Yes")
else:
    print("No")
Buggy code:
n=str(input())

if n[0]=n[2]:
    print("Yes")
else:
    print("No")


Fixed code:
n = input()
if(n[0] == n[2]):
    print("Yes")
else:
    print("No")
Buggy code:
s=input()
print('Yes' if s[0]==s[1]==s[2] else 'No')

Fixed code:
s=input()
print('Yes' if s[0]==s[2] else 'No')
Buggy code:
n = int(input())
print('Yes' if n[0] == n[2] else 'No')


Fixed code:
n=input()
print('Yes' if n[0]==n[2] else 'No')
Buggy code:
a=input()
print(["No","Yes"][a[0]==a[2])

Fixed code:
a=input()
print(["No","Yes"][a[0]==a[2]])
Buggy code:
n = int(input())
print('Yes' if n[::-1] == n else 'No')


Fixed code:
n=input()
if n==n[::-1]:
  print("Yes")
else:
  print("No")
Buggy code:
s = input()
if list(s) == reversed(list(s)):
  print("Yes")
else:
  print("No")

Fixed code:
s = input()

if list(s) == list(reversed(list(s))):
  print("Yes")
else:
  print("No")
Buggy code:
n_str = input()
n_list = list(n_str)
n_list_reverse = n_list.reverse()
if n_list == n_list_reverse:
    print("Yes")
else:
    print("No")

Fixed code:
n_str = input()
n_list = list(n_str)
n_list_reverse = list(n_str)
n_list_reverse.reverse()
if n_list == n_list_reverse:
    print("Yes")
else:
    print("No")
Buggy code:
s=input();print('YNeos'[s!=s[::-1]])

Fixed code:
s=input();print('YNeos'[s!=s[::-1]::2])
Buggy code:
n = input()
print("Yes" if n[0] == n[2] else "No)

Fixed code:
n= input()
print("Yes" if n[0] == n[2] else "No")
Buggy code:
N = input()
if N = N[::-1]:
  print('Yes')
else:
  print('No')

Fixed code:
N = input()
if N == N[::-1]:
  print('Yes')
else:
  print('No')
Buggy code:
N = input( )

N_100 = N // 100
N = N - 100 * N_100
N_10 = N // 10
N = N - 10 * N_10
N_1 = N

if  N_100 == N_1:
    print ('Yes')
else :
    print ('No')

Fixed code:
N = int (input( ))

N_100 = N // 100
N = N - 100 * N_100
N_10 = N // 10
N = N - 10 * N_10
N_1 = N

if  N_100 == N_1:
    print ('Yes')
else :
    print ('No')
Buggy code:
N = input()

print("Yes" if N = N[::-1] else "No")

Fixed code:
N=input()
if N==N[::-1]:
    print("Yes")
else:
    print("No")
Buggy code:
S = input()

'Yes' if S[0] == S[2] else 'No'

Fixed code:
S = input()
 
print('Yes' if S[0] == S[2] else 'No')
Buggy code:
#coding:utf-8
n=str(input())
if(n[0]==n[1]):
  print("Yes")
else:
  print("No")

Fixed code:
#coding:utf-8
n=str(input())
if(n[0]==n[2]):
  print("Yes")
else:
  print("No")
Buggy code:
a = list(input())
rev_a = a
rev_a.reverse()
if a == rev_a:
    print("Yes")
else:
    print("No")

Fixed code:
a = list(input())
rev_a = list(a)
rev_a.reverse()

if a == rev_a:
    print("Yes")
else:
    print("No")
Buggy code:
n=input()
print("Yes" if n=n[::-1] else "No")

Fixed code:
n=input()
print("Yes") if n == n[::-1] else print("No")
Buggy code:
N=list(int(input()))
N_=reversed(N)
if N==N_:
    print('Yes')
else:
    print('No')

Fixed code:
N=list(input())
N_=list(reversed(N))
if N==N_:
    print('Yes')
else:
    print('No')
Buggy code:
N = int(input())
M = N[2] + N[1] + N[0]
if N == M:
	print('Yes')
else:
	print('No')

Fixed code:
N = input()
M = N[2] + N[1] + N[0]
if N == M:
	print('Yes')
else:
	print('No')
Buggy code:
a=int(input());print('Yes' if a[0]==a[2] else 'No')

Fixed code:
a=input();print('Yes' if a[0]==a[2] else 'No')