qyliang/CodeNanoFix huggingface dataset:
Buggy code:
A = int(input())
B = int(input())

A_s =str(A)
B_s = str(B)

if len(A_s) > len(B_s):
    print("GREATER")
elif len(A_s) < len(B_s):
    print("LESS")
else:
    for i in range(len(A_s)):
        if A[i] > B[i]:
            print("GREATER")
            break
        elif A[i] < B[i]:
            print("LESS")
            break
        elif (A[i] == B[i]) & (i == len(A_s)-1):
            print("EQUAL")
            break
            
    
            

Fixed code:
A = int(input())
B = int(input())

A_s =str(A)
B_s = str(B)

if len(A_s) > len(B_s):
    print("GREATER")
elif len(A_s) < len(B_s):
    print("LESS")
else:
    for i in range(len(A_s)):
        if A_s[i] > B_s[i]:
            print("GREATER")
            break
        elif A_s[i] < B_s[i]:
            print("LESS")
            break
        elif (A_s[i] == B_s[i]) & (i == len(A_s)-1):
            print("EQUAL")
            break
Buggy code:
#ABC059.B
A = int(input())
B = int(input())

if A > B:
    print('GREATER')
elif A == B
    print('EQUAL')
else:
    print('LESS')

Fixed code:
#ABC059.B
A = int(input())
B = int(input())

if A > B:
    print('GREATER')
elif A == B:
    print('EQUAL')
else:
    print('LESS')
Buggy code:
from sys import exit
A = input()
B = input()
if len(A) > len(B):
  print("GREATER")
elif len(A) < len(B):
  print("LESS")
else:
  for a,b in zip(A,B):
    if a > b:
      print("GREATER")
      exit()
    elif a < b:
      print("LESS")
      exit()
print("EQUAL")

Fixed code:
from sys import exit
A = input()
B = input()
if len(A) > len(B):
  print("GREATER")
elif len(A) < len(B):
  print("LESS")
else:
  for a,b in zip(A,B):
    if a > b:
      print("GREATER")
      exit()
    elif a < b:
      print("LESS")
      exit()
  print("EQUAL")
Buggy code:
A = input()
B = input()

if A == B:
  print('EQUAL')
elif A < B:
  print('LESS')
else:
  print('GREATER')

Fixed code:
A = int(input())
B = int(input())

if A == B:
  print('EQUAL')
elif A < B:
  print('LESS')
else:
  print('GREATER')
Buggy code:
a=int(input())
b=int(input())
print("GREATER" if a>b elif b<a "LESS" else"EQUAL")

Fixed code:
a = int(input())
b = int(input())
print("GREATER" if a>b else("LESS" if a<b else "EQUAL"))
Buggy code:
A = int(input())
B = int(input())
if A > B:
    print "GREATER"
elif A < B:
    print "LESS"
else:
    print "EQUAL"

Fixed code:
A=int(input())
B=int(input())
if A>B:
  print("GREATER")
elif A<B:
  print("LESS")
elif A==B:
  print("EQUAL")
Buggy code:
A = input()
B = input()
if A > B:
  print("GREATER")
elif A == B:
  print("EQUAL")
else:
  print("LESS")

Fixed code:
A = int(input())
B = int(input())
if A > B:
  print("GREATER")
elif A == B:
  print("EQUAL")
else:
  print("LESS")
Buggy code:
A = input()
B = input()
if A > B:
    print "GREATER"
elif A < B:
    print "LESS"
else:
    print "EQUAL"
    

Fixed code:
A = int(input())
B = int(input())
if A < B:
    print("LESS")
elif A > B:
    print("GREATER")
else:
    print("EQUAL")
Buggy code:
a=int(input())
b=int(input())
if a>b:
  print("GREATER")
elif b<a:
  print("LESS")
else:
  print("EQUAL")

Fixed code:
a = int(input())
b = int(input())

if(a<b):
    print('LESS')
elif(a==b):
    print('EQUAL')
else:
    print('GREATER')
Buggy code:
a = int(input())
b = int(input())
if a>b:
  print("GREATER")
elif b<a:
  print("LESS")
else:
  print("EQUAL")

Fixed code:
a = int(input())
b = int(input())
if a>b: print("GREATER")
elif a<b: print("LESS")
else: print("EQUAL")
Buggy code:
a = input()
b = input()
if a == b:
    print('EQUAL')
elif a < b:
    print('LESS')
else:
    print('GREATER')

Fixed code:
a = int(input())
b = int(input())
if a == b:
    print('EQUAL')
elif a < b:
    print('LESS')
else:
    print('GREATER')
Buggy code:
a = input()
b = input()

max_len = 105

if len(a) < max_len:
    a = '0' * (max_len - len(a)) + a

if len(b) < max_len:
    b = '0' * (max_len - len(b)) + b

if a > b:
    ans = "GRATER"
elif a == b:
    ans = "EQUAL"
else:
    ans = "LESS"

print(ans)


Fixed code:
a = input()
b = input()

max_len = 105

if len(a) < max_len:
    a = '0' * (max_len - len(a)) + a

if len(b) < max_len:
    b = '0' * (max_len - len(b)) + b

if a > b:
    ans = "GREATER"
elif a == b:
    ans = "EQUAL"
else:
    ans = "LESS"

print(ans)
Buggy code:
A = int(input())
B = int(input())

if A > B:
  print("GREATER")
else if A < B:
  print("LESS")
else:
  print("EQUAL")

Fixed code:
A = int(input())
B = int(input())
print("GREATER" if (A > B) else "LESS" if (A < B) else "EQUAL")
Buggy code:
a = int(input())
b = int(input())
print('GREATER' if a>b else 'EQUAL' if a==b else 'LESS' if a<b)

Fixed code:
a=int(input())
b=int(input())
print('GREATER'if a>b else "EQUAL"if a==b else"LESS")
Buggy code:
A = int(input())
B = int(input())

if A > B:
	print("GREATER")
elif A = B:
	print("EQUAL")
else A < B:
	print("LESS")


Fixed code:
A = int(input())
B = int(input())
if A > B:
	print("GREATER")
elif A == B:
	print("EQUAL")
else:
	print("LESS")
Buggy code:
a = input()
b = input()
print(a > b and "GREATER" or (a == b and "EQUAL" or "LESS"))

Fixed code:
a = int(input())
b = int(input()) 
print(a > b and "GREATER" or (a == b and "EQUAL" or "LESS"))
Buggy code:
a = int(input())
b = int(input())
ans = 'GREATER'
if a == b:
  ans = 'EQUAL'
elif a < b:
  ans = 'LESS'


Fixed code:
a = int(input())
b = int(input())
ans = 'GREATER'
if a == b:
  ans = 'EQUAL'
elif a < b:
  ans = 'LESS'
print(ans)
Buggy code:
a = int(input())
b = int(input())
print('GREATER'if a > b 'EQUAL' elif a == b else 'LESS')


Fixed code:
a=int(input())
b=int(input())
if a==b:
    print('EQUAL')
elif a>=b:
    print('GREATER')
else:
    print('LESS')
Buggy code:
gr = "GREATER"
less = "LESS"
eq = "EQUAL"

A = int(input())
B = int(input())

if A > B:
  print(gr)
elif A == B:
  print(less)
else:
  print(eq)


Fixed code:
gr = "GREATER"
less = "LESS"
eq = "EQUAL"

A = int(input())
B = int(input())

if A > B:
  print(gr)
elif A < B:
  print(less)
else:
  print(eq)
Buggy code:
a=int(input())
b=int(input())
if a<b:
  print('GREATER')
elif a>b:
  print('LESS')
else:
  print('EQUAL')

Fixed code:
a = int(input())
b = int(input())

if a > b:
  print("GREATER")
elif a < b:
  print("LESS")
else :
  print("EQUAL")
Buggy code:
a=int(input())
b=int(input())
if a>b:
    print("GREATER")
elif b<a:
    print("LESS")
else:
    print("EQUAL")

Fixed code:
a=int(input())
b=int(input())
if(a>b):
    print("GREATER")
elif(a<b):
    print("LESS")
else:
    print("EQUAL")
Buggy code:
a=int(input())
b=int(input())
if(a>b):
    print("GREATER")
if(a<b):
    print("LESS")
else:
    print("EQUAL")

Fixed code:
a=int(input())
b=int(input())
if a == b:
    print('EQUAL')
else:
    print('GREATER' if a > b else 'LESS')
Buggy code:
a = input()
b = input()

def solve(a,b,n,i):
    if n == i:
        return(print("EQUAL"))
    if a[i] >b[i]:
        print("GREATER")
    elif b[i]>a[i]:
        print("LESS")
    else:
        solve(a,b,n,i+1)

if len(a)>len(b):
    print("GREATER")
elif len(b)>len(b):
    print("LESS")
else:
    solve(a,b,len(a),0)


Fixed code:
a = input()
b = input()

def solve(a,b,n,i):
    if n == i:
        return(print("EQUAL"))
    if a[i] >b[i]:
        print("GREATER")
    elif b[i]>a[i]:
        print("LESS")
    else:
        solve(a,b,n,i+1)

if len(a)>len(b):
    print("GREATER")
elif len(b)>len(a):
    print("LESS")
else:
    solve(a,b,len(a),0)
Buggy code:
a=int(input())
b=int(input())
if(a>b):
  print("LESS")
elif(a==b):
  print("EQUAL")
else:
  print("GREATER")

Fixed code:
a = int(input())
b = int(input())
if a > b:
	print('GREATER')
elif a < b:
	print('LESS')
else:
	print('EQUAL')
Buggy code:
a,b,c = map(int,input().split())
if b-a == c-b:
    print("YES")
else:
    pritn("NO")

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

if b - a == c - b:
    print("YES")

else:
    print("NO")
Buggy code:
a,b,c=map(int,input().split());print('YNEOS'[a+c==2*b::2])

Fixed code:
a,b,c=map(int,input().split());print('YNEOS'[a+c!=2*b::2])
Buggy code:
a,b,c = map(int,input().split())
if b−a == c−b:
  print("YES")
else:
  print("NO")

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

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

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

print("YES" if b-a==c-b else "NO")
Buggy code:
a, b, c = map(int, input().split())
ans = 'NO'
if b - a == c = b:
  ans = 'YES'
print(ans)

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

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

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

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


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

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

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

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

print("YES" if b - a = c - b else "NO")

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

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

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

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

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

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

if (b - a) == (c - b):
    print("YES")
else:
    print("NO")
Buggy code:
a,b,c = [int(x) for x in input().split()]
if(b-a = c-b):
  print('YES')
else:
  print('NO')

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

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

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

print('YES') if b-a == c-b else print('NO')
Buggy code:
a,b,c = map(int,input().split())
if 2*b = a+c:
  print("YES")
else:
  print("NO")

Fixed code:
a,b,c = map(int,input().split())
if 2*b == a+c:
  print("YES")
else:
  print("NO")
Buggy code:
a,b,c=input().split()
a1=int(a)
b1=int(b)
c1=int(c)
d=b1-a1
e=c1-b1
if d==e:
	print('YES')
else :
	print('NO')a,b,c=input().split()

Fixed code:
a,b,c=input().split()
a1=int(a)
b1=int(b)
c1=int(c)
d=b1-a1
e=c1-b1
if d==e:
	print('YES')
else :
	print('NO')
Buggy code:
a, b, c = map(int, input().split())
if b - a == c - b and a >= c:
	print("YES")
else:
	print("NO")


Fixed code:
a, b, c = map(int,input().split())
if b - a == c - b:
  print("YES")
else:
  print("NO")
Buggy code:
a=input().strip().splt(" ")

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

if(b[1]-b[0]==b[2]-b[1]):
    print("YES")
else:
    print("NO")


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

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

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


Fixed code:
a,b,c=map(int,input().split())
print(["NO","YES"][a-b==b-c])
Buggy code:
a,b,c = map(int, input().split())
if b − a == c − b:
  print("YES"):
else:
  print("NO")
 


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

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

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

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

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

Fixed code:
a,b,c = map(int,input().split())
n = b - a
m = c - b
if n == m:
    print('YES')
else:
    print('NO')
Buggy code:
a,bc=map(int,input().split())
if b-a==c-a:
    print('YES')
else:
    print('NO')
    

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

if b-a == c-b:
    print("YES")
else:
    print("NO")
Buggy code:
#!/usr/bin/env python3

def main():
    a, b, c = map(int, input().split())
    print("YES" if b - a == c - a else "NO")


if __name__ == "__main__":
    main()


Fixed code:
#!/usr/bin/env python3

def main():
    a, b, c = map(int, input().split())
    print("YES" if b - a == c - b else "NO")


if __name__ == "__main__":
    main()
Buggy code:
a,b,c = map(int,input().split())
if b-a == c-b:
  print("YES")
else:
  print("No")

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

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

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

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


Fixed code:
a,b,c=map(int,input().split())
if b-a==c-b:
 print ('YES')
else:
 print ('NO')
Buggy code:
a, b, c = map(int, input().split())
print("YNEOS"[b-a!=c-b])

Fixed code:
a, b, c = map(int, input().split())
print("YNEOS"[b-a!=c-b::2])
Buggy code:
A,B,C=map(int,input().split())
if B-C==B-A:
  print("YES")
else:
  print("NO")


Fixed code:
A,B,C=map(int,input().split())
if C-B==B-A:
  print("YES")
else:
  print("NO")
Buggy code:
a,b,c=map(int,input().split());print('YNeos'[b-a!=c-b::2])

Fixed code:
a,b,c=map(int,input().split());print('YNEOS'[b-a!=c-b::2])
Buggy code:
a, b, c = map(int, input().split())
if (b − a == c − b):
  print('YES')
else:
  print('NO')


Fixed code:
a, b, c = map(int, input().split())
if (b - a == c - b):
  print('YES')
else:
  print('NO')
Buggy code:
a,b,c=[int(x) for x in input().split()]
if  b−a==c−b:
    print("YES")
else:
    print("NO")

Fixed code:
a,b,c=[int(x) for x in input().split()]
if  b-a==c-b:
    print("YES")
else:
    print("NO")
Buggy code:
#58

a, b, c = map(int, input().rstrip().split())

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

Fixed code:
#58

a, b, c = map(int, input().rstrip().split())

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

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

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

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

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

Fixed code:

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

if b-a == c-b:
    print("YES")
else:
    print("NO")
Buggy code:
x=list(input().split())
x1=int(x[0])
y1=int(x[1])
x2=int(x[2])
if x2-x1==x3-x2:
  print('YES')
else:
  print('NO')

Fixed code:
x=list(input().split())
x1=int(x[0])
x2=int(x[1])
x3=int(x[2])
if (x2-x1)==(x3-x2):
  print('YES')
else:
  print('NO')
Buggy code:
a,b,c=map(int,input().split())
print("YES" if b-a=c-b else "NO")


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

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

if b - a == c - b:
	print('YES')
else:
	print('NO')
Buggy code:
a,b,c=map(int,input().split());print("YNeos"[b-a!=c-b::2])

Fixed code:
a,b,c=map(int,input().split());print("YNEOS"[b-a!=c-b::2])
Buggy code:
import sys
def input(): return sys.stdin.readline().strip()

def main():
    a, b, c = map(int, input().split())
    if b - a == c - a:
        print("YES")
    else:
        print("NO")
    

if __name__ == "__main__":
    main()


Fixed code:
import sys
def input(): return sys.stdin.readline().strip()

def main():
    a, b, c = map(int, input().split())
    if b - a == c - b:
        print("YES")
    else:
        print("NO")
    

if __name__ == "__main__":
    main()
Buggy code:
# -*- coding: utf-8 -*-
a,b,c = map(int,input().split())
if b-a = c-b:
  print("YES")
else:
  print("NO")

Fixed code:
# -*- coding: utf-8 -*-
a,b,c = map(int,input().split())
if b-a == c-b:
  print("YES")
else:
  print("NO")
Buggy code:
a, b, c = map(int(input().split(" ")));

if b-a == c-b:
    print("YES");
else:
    print("NO");


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

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

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

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

Fixed code:
a ,b,c= map(int, input().split())
if b - a == c-b:
    print("YES")
else:print("NO")
Buggy code:
def main():
    a,b,c=map(int,input().split(' '))
    if b-a == c-b:
        print('YES')
    else:
        print('N0')
if __name__ == '__main__':
    main()

Fixed code:
def main():
    a,b,c=map(int,input().split(' '))
    if b-a == c-b:
        print('YES')
    else:
        print('NO')
if __name__ == '__main__':
    main()
Buggy code:
a,b,c = map(int,input.split())
print("YES" if b-a == c-b else "NO")

Fixed code:
a, b, c = map(int, input().split())
if b - a == c - b:
	print('YES')
else:
	print('NO')
Buggy code:
A, B, C = map(int,input().split())

if B - A == C - B:
    print("YES")
else:
    print("No")

Fixed code:
A, B, C = map(int,input().split())

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

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


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

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

Fixed code:

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

Fixed code:
a, b, c = map(int,input().split())
l = b - a
r = c - b
if(l == r):
  print("YES")
else:
  print("NO")
Buggy code:
a,b,c=map(int,input().split())
if a==b and b==c:
    print("YES")
else:
    print("NO")
    
    

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

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

if a-b == c-b:
    print('YES')
else:
    print('NO')

Fixed code:
a,b,c=map(int,input().split())
d=b-a
e=c-b
if d==e:
  print("YES")
else:
  print("NO")
Buggy code:
a, b, c = map(int, input().split())
print("YES" if b - a=c - b else "NO")

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

if b-a==c-b :
    print("YES")
else:
    print("NO")
Buggy code:
a,b,c = map(int,input().split())
if(c-b and b-a):
    print("YES")
else:
    print("NO")


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

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

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

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

if a+c==2*b:
    print('YES')
else:
    print('NO')
Buggy code:
a,b,c = map(int,input().split())

print('YNeos'[b-a!=c-b::2])

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

print('YNEOS'[b-a!=c-b::2])
Buggy code:
a, b, c = map(int, input().split())
if b - a == c - b:
    print('YES')
else:
    print('No')


Fixed code:
a,b,c = map(int,input().split())
if a-b == b-c:
  print("YES")
else:
  print("NO")
Buggy code:
a,b,c = (int(x) for x in input().split())

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

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

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

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

if b - a == c - b:
    print('YES')
else:
    print('No')

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

if a-b == b - c:
    print('YES')
else:
    print('NO')
Buggy code:
print("Hello")
a,b,c = list(map(int, input().split()))

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


Fixed code:
a, b, c = list(map(int, input().split()))
if (b-a)==(c-b):
    print('YES')
else:
    print('NO')
Buggy code:
a,b,c =map(int,input().split())
print(["YES","NO"][a-b != c-b])

Fixed code:
a,b,c =map(int,input().split())
print(["YES","NO"][b-a != c-b])
Buggy code:
a,b,c = map(int,input().split())
if b-a == c-a:
    print('YES')
else:
    print('NO')

Fixed code:
#A
a,b,c = map(int,input().split())
if b-a == c-b:
    print("YES")
else:
    print("NO")
Buggy code:
a,b,c=map(int,input().split())
print('YES' if b-a=c-b else 'NO')

Fixed code:
a,b,c = map(int, input().strip().split(' '))
print('YES' if b-a == c-b else 'NO')
Buggy code:
a, b, c = map(int, input().split().split())
if  b−a == c−b:
  print ("YES")
else:
 print("NO")

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

Fixed code:
a, b, c = map(int,input().split())
if (a-b)==(b-c) or (b-a)==(c-b):
    print('YES')
else:
    print('NO')
Buggy code:
a,b,c=map(int,input().split())
print(["NO","YES"][2*b-a-c!=0])

Fixed code:
a,b,c=map(int,input().split())
print(["NO","YES"][2*b-a-c==0])
Buggy code:
a, b, c = map(int,input().split())
if b-a == c-b:
  print("YES")
else:
  plint("NO")

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

Fixed code:
a, b, c = map(int, input().split())
print('YES' if (b - a) == (c - b) else 'NO')
Buggy code:
a, b, c = mapc(int, input().split())

if (b-a) == (c-b):
    print('YES')
else:
    print('NO')

Fixed code:
a,b,c = map(int, input().split())
if c-b == b-a:
    print('YES')
else:
    print('NO')
Buggy code:
d=input().split()
a=int(d[1])
b=int(d[2])
c=int(d[3])



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

Fixed code:
d=input().split()
a=int(d[0])
b=int(d[1])
c=int(d[2])



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