qyliang/CodeNanoFix huggingface dataset:
Buggy code:
A,B,C = map(int, input().split())

if A==B:
    if A!=C:
        print('Yes')
    else:
        print('No')
elif A==C:
    if A!=B:
        print('Yes')
    else:
        print('No')

elif B==C:
    if A!=C:
        print('Yes')
    else:
        print('No')

Fixed code:
A, B, C = map(int, input().split())
if A == B:
  if A != C:
    print("Yes")
  else:
    print("No")
elif B == C:
  print("Yes")
elif A == C:
  print("Yes")
else:
  print("No")
Buggy code:
# n = int(input())
A = list(map(int, input().split()))
# a, b, c = map(int, input().split())
set_A = set(A)
if len(A) == 3:
    if len(set_A) == 2:
        ("Yes")
        exit()
print("No")


Fixed code:
# n = int(input())
A = list(map(int, input().split()))
# a, b, c = map(int, input().split())
set_A = set(A)
if len(A) == 3 and len(set_A) == 2:
    print("Yes")
    exit()
print("No")
Buggy code:
a,b,c=map(int,input().split())
print(["Yes","NO"][2!=len(set([a,b,c]))])

Fixed code:
a,b,c=map(int,input().split())
print(["Yes","No"][2!=len(set([a,b,c]))])
Buggy code:
def resolve():
    A, B, C = map(int, input().split())

    if A == B and B == C:
        print('No')
        return

    if A != B and B != C:
        print('No')
        return

    print('Yes')


resolve()


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

    if A == B and B == C:
        print('No')
        return

    if A == B or B == C or A == C:
        print('Yes')
        return

    print('No')
    

resolve()
Buggy code:
A,B,C=input().split()
if(A==B):
    if(A!=C):
        print("Yes")
    else:
        print("No")
else:
    if(B==C):
        print("Yes")
    else if(A==C):
        print("Yes")
        else:
            print("No")


Fixed code:
A,B,C=input().split()
if(A==B):
    if(A!=C):
        print("Yes")
    else:
        print("No")
else:
    if(B==C):
        print("Yes")
    else:
        if(A==C):
            print("Yes")
        else:
            print("No")
Buggy code:
A = list(map(int,input().split()))
if len(set(A))==2:
  print("No")
else:
  print("Yes")


Fixed code:
A = list(map(int,input().split()))
if len(set(A))==2:
  print("Yes")
else:
  print("No")
Buggy code:
a,b,c = map(int, input().split())
if a==b:
    if a!=c:
        print("Yes")
    else:
        print("No")
elif a!=b:
    if a==c:
        print("Yes")
    else:
        if b==c:
            print("Yes")
        else:
            print("NO")

Fixed code:
a,b,c = map(int, input().split())
if a==b:
    if a!=c:
        print("Yes")
    else:
        print("No")
elif a!=b:
    if a==c:
        print("Yes")
    else:
        if b==c:
            print("Yes")
        else:
            print("No")
Buggy code:
a, b ,c = map(int, input().split())

if (a == b == c) or (a != b != c):
    print("No")
else:
    print("Yes")

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

if (a == b and a != c) or (a == c and a != b)or (b == c and b != a):
    print("Yes")
else:
    print("No")
Buggy code:
#-*- coding: utf-8 -*-
a,b,c = map(int,input().split())
if a == b == c:
    print("No")
elif a != b != c:
    print("No")
else :
    print("Yes")
    

Fixed code:
#-*- coding: utf-8 -*-
a,b,c = map(int,input().split())
if a == b == c:
    print("No")
elif a != b and a != c and b != c:
    print("No")
else :
    print("Yes")
Buggy code:
a=list(map(int,input().split()))
a.sort()
if a[0] == a[1] and a[1] == a[2] and a[0] == a[2]:
  print("No")
else:
  print("Yes")

Fixed code:
a=list(map(int,input().split()))
a.sort()
if(a[0]==a[1] and a[1]==a[2]):print("No")
elif(a[0]==a[1] or a[1]==a[2]):print("Yes")
else :print("No")
Buggy code:
a,b,c = int(input().split())
if a = b != c :
    print("Yes")
elif b = c != a :
    print("Yes")
elif a = c != b :
    print("Yes")
else :
    print("No")

Fixed code:
a, b, c = map(int, input().split())
if a==b and b==c and a==c:
    print("No")
elif a!=b and b!=c and a!=c:
    print("No")
else:
    print("Yes")
Buggy code:
a,b,c=(int(x) for x in input().split())
if a==b==c or a!=b!=c:
    print("No")
else:
    print("Yes")

Fixed code:
a,b,c=(int(x) for x in input().split())
if a==b==c or a!=b!=c!=a:
    print("No")
else:
    print("Yes")
Buggy code:
import sys

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

#print(a, b, c)
ab = a == b
ac = a == c
bc = b == c

if ab and bc:A
  print('No')
  sys.exit()

if not ab and not ac and not bc:
  print('No')
  sys.exit()

print('Yes')

Fixed code:
import sys

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

#print(a, b, c)
ab = a == b
ac = a == c
bc = b == c

if ab and bc:
  print('No')
  sys.exit()

if not ab and not ac and not bc:
  print('No')
  sys.exit()

print('Yes')
Buggy code:
A, B, C = map(int, input().split())
if(A == B or B == C or C == A):
  print('Yes')
else:
  print('No')

Fixed code:
A, B, C = map(int, input().split())
if(A == B or B == C or C == A):
  if(A != B or B != C or C != A):
    print('Yes')
  else:
    print('No')
else:
  print('No')
Buggy code:
v = list(map(int,input().split()))
flag = True
flag = flag or max(v) != min(v)
for i in v:
  if max(v) != i and min(v) != i: flag = False
print("Yes" if flag else "No")

Fixed code:
v = list(map(int,input().split()))
flag = True
flag = flag and max(v) != min(v)
for i in v:
  if max(v) != i and min(v) != i: flag = False
print("Yes" if flag else "No")
Buggy code:
a, b, c = [int(x) for x in input().split(" ")]

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

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

if (a == b and b != c) or (b == c and a != b) or (a == c and a != b):
  print("Yes")
else:
  print("No")
Buggy code:
a, b, c = map(int,input().split())

if a == b and (a == b) != c:
  print("Yes")
elif a == c and (a == c) != b:
  print("Yes")
elif b == c and (b == c) != a:
  print("Yes")
else:
  print("No")

Fixed code:
a,b,c = map(int,input().split())
if a == b == c:
  print("No")
elif a!=b and b!=c and a!=c:
  print("No")
else:
  print("Yes")
Buggy code:
c = list(map(int, input().split()))

if(int(len(set(c)) == 3)):
    print("No")
elif(int(len(set(c)) == 2)):
    print("Yes")

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

if(int(len(set(c)) == 3)):
    print("No")
elif(int(len(set(c)) == 2)):
    print("Yes")
else:
    print("No")
Buggy code:
a,b,c = map(int,input())

if a = b != c or b = c != a or c = a != b:
    print('Yes')
else:
    print('No')


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

if a == b != c or b == c != a or c == a != b:
    print('Yes')
else:
    print('No')
Buggy code:
import sys
a,b,c=map(int,input().split()) 
if a==b :
    if a==c:
        print('No')
        sys.exit()
    else:
        print('Yes')
        sys.exit()
if b==c:
    print('Yes')
    sys.exit()
    
print('No')

Fixed code:
import sys
a,b,c=map(int,input().split()) 
if a==b :
    if a==c:
        print('No')
        sys.exit()
    else:
        print('Yes')
        sys.exit()
if b==c:
    print('Yes')
    sys.exit()

if a==c:
    print('Yes')
    sys.exit()
    
print('No')
Buggy code:
a=sorted(list(map(int,input().split())))
if  a[0]==a[1]:
	if a[1] == a[2]:
		print("No")
	else:
		print("Yes")
else:
	if a[2] == a[3]:
		print("Yes")
	else:
		print("No")


Fixed code:
a=sorted(list(map(int,input().split())))
if  a[0]==a[1]:
	if a[1] == a[2]:
		print("No")
	else:
		print("Yes")
else:
	if a[1] == a[2]:
		print("Yes")
	else:
		print("No")
Buggy code:
a=list(map(int,input().split()))
if len(set(a))==1:
  print('Yes')
else:
  print('No')

Fixed code:
a=list(map(int,input().split()))
if len(set(a))==2:
  print('Yes')
else:
  print('No')
Buggy code:
A,B,C=map(int,input().split())
if A==B and B==C:
  print("No")
else:
  print("Yes")

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

if (A == B and C != A) or (A == C and B != A) or (B == C and A != B):
    print('Yes')
else:
    print('No')
Buggy code:
if len(set(map(int, input().split()))) == 2:
  print('Yes')
  else:
    print('No')

Fixed code:
ABC = set(list(map(int, input().split())))
if len(ABC) == 2:
    print('Yes')
else:
    print('No')
Buggy code:
print "Yes" if len(set(input().split())) == 2 else "No"

Fixed code:
print("Yes" if len(set(input().split())) == 2 else "No")
Buggy code:
n = list(map(int, input().split()))
if n[0] == n[1] == n[2]:
    print("Yes")
print("No")

Fixed code:
n = list(map(int, input().split()))
if n[0] != n[1]:
    if n[1] == n[2]:
        print("Yes")
        exit()
    if n[0] == n[2]:
        print("Yes")
        exit()
    if n[0] != n[2]:
        print("No")
        exit()
if n[0] == n[1]:
    if n[0] != n[2]:
        print("Yes")
        exit()
print("No")
Buggy code:
a,b,c=input(map(int,split()))
if a==b==c:
  print('No')
elif a!=b and b!=c and c!=a:
  print('No')
else:
  print('Yes')

Fixed code:
a,b,c = map(int,input().split())
if a == b and a != c:
  print('Yes')
elif a == c and a != b:
  print('Yes')
elif c == b and a != b:
  print('Yes')
else:
  print('No')
Buggy code:
A = list(map(int, input().split()))
B = set(map(int, input().split()))
if len(B) == 2:
  print('Yes')
else:
  print('No')

Fixed code:
A = list(map(int, input().split()))
B = set(A)
if len(B) == 2:
  print('Yes')
else:
  print('No')
Buggy code:
a,b,c = map(int, input().split())

if(a == b or b == c or c == a):
  if(a,b != c or b,c != a or a,c != b):
    print('Yes')
  else:
    print('No')
else:
  print('No')  


Fixed code:
a, b, c = map(int, input().split())
if a == b != c or b == c != a or c == a != b:
    print("Yes")
else:
    print("No")
Buggy code:
a = list(map(int,, input().split()))
if a[0] == a[1] and a[0] != a[2]:
  print("Yes")
elif a[0] != a[1] and a[1] == a[2]:
  print("Yes")
elif a[0] == a[2] and a[0] != a[1]:
  print("Yes")
else:
  print("No")

Fixed code:
a = list(map(int, input().split()))
if a[0] == a[1] and a[0] != a[2]:
  print("Yes")
elif a[0] != a[1] and a[1] == a[2]:
  print("Yes")
elif a[0] == a[2] and a[0] != a[1]:
  print("Yes")
else:
  print("No")
Buggy code:
A = input().split()

if (int(A[0]) == int(A[1])) and (int(A[1]) == int(A[2])):
  print("No")
else:
  print("Yes")

Fixed code:
A = input().split()
 
if (int(A[0]) == int(A[1])) and (int(A[1]) == int(A[2])):
  print("No")
elif (int(A[0]) != int(A[1])) and (int(A[1]) != int(A[2])) and(int(A[0]) != int(A[2])):
  print("No")
else:
  print("Yes")
Buggy code:
A,B,C=map(int,input().split())
if A==B and A !=C:
    print("No")
elif A==C and A!=B:
    print("No")
elif B==C and B !=A:
    print("No")
else:
    print("Yes")

Fixed code:
A,B,C = input().split()
if A == B and B == C:
    print("No")
elif A != B and B != C and C != A:
    print("No")
else:
    print("Yes")
Buggy code:
A , B, C = map(int, input().split())
L = [A,B,C]
if not len(set(L)) == len(L):
    print("No")
else:
    print("Yes")

Fixed code:
A , B, C = map(int, input().split())
L = [A,B,C]
if len(set(L)) == 2:
    print("Yes")
else:
    print("No")
Buggy code:
abc = list(map(int,input().split()))
if len(set(abc))==1:
  print("No")
else:
  print("Yes")

Fixed code:
abc = list(map(int, input().split()))
if len(set(abc)) == 2:
    print("Yes")
else:
    print("No")
Buggy code:
a, b, c = map(int, input().split())

if a == b != c or a != b == c:
  print("Yes")
else:
  print("No")

Fixed code:
a,b,c=map(int,input().split())
if (a==b and a!=c) or (b==c and b!=a) or (a==c and a!=b):
    print('Yes')
else:
    print('No')
Buggy code:
l=list(map(int,input().split()))
l.sort()
if set(l)==2:
	print("Yes")
else:
	print("No")
       

Fixed code:


l=list(map(int,input().split()))
l.sort()
if len(set(l))==2:
	print("Yes")
else:
	print("No")
Buggy code:
A, B, C = map(int, input().split())
if A == B == C:
    print("No")
elif A != B != C:
    print("No")
else:
    print("Yes")

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

if( A == B ) and (B != C):
    print('Yes')
elif( B == C ) and (A !=C):
    print('Yes')
elif( A == C ) and (A !=B):
    print('Yes')
else:
    print('No')
Buggy code:
data=list(map(int,input().split()))
data.sort()
print(data)
ans="No"
if data[0]==data[1]:
    if data[1]==data[2]:
        ans="No"
    else:
        ans='Yes'
elif data[1]==data[2]:
    ans="Yes"
print(ans)

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

ans="No"
if data[0]==data[1]:
    if data[1]==data[2]:
        ans="No"
    elif data[1]!=data[2]:
        ans='Yes'
elif data[0]!=data[1]:
    if data[1]==data[2]:
        ans="Yes"
print(ans)
Buggy code:
case = int(input())

A, B, C =[int(x) for x in case.split(' ')]
if (A == B and A != C) or(B == C and A != C) or (A == C and A != C):
    print('Yes')
else:
    print('No')

Fixed code:

case = input()

A, B, C =[int(x) for x in case.split(' ')]
if (A == B and A != C) or(B == C and A != C) or (A == C and A != B):
    print('Yes')
else:
    print('No')
Buggy code:
a, b, c = map(int, input().split());

if a == b and b == c:
  print("No");
elif a != b and b !=c:
  print("No");
else:
  print("Yes");


Fixed code:
a,b,c = map(int,input().split())
if a == b and a != c :
    print("Yes")
elif a == c and a != b :
    print("Yes")
elif b == c and a != b :
    print("Yes")
else :
    print("No")
Buggy code:
a,b,c = map(int,input().split())

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


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

if a==b and a==c and b==c:
  print("No")
elif a!=b and a!=c and b!=c:
  print("No")
else:
  print("Yes")
Buggy code:
a,b,c = input().strip().split()

if a==b:
  if b==c:
    print("No")
  else:
    printf("Yes")
    
else:
  if a==c or b==c:
    print("Yes")
  else:
    print("No")

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

if a==b:
  if b==c:
    print("No")
  else:
    print("Yes")
    
else:
  if a==c or b==c:
    print("Yes")
  else:
    print("No")
Buggy code:
import collections
k=collections.Counter(list(map(int,input().split())))
if len(k) == 3:
  print('No')
else:
  print('Yes')

Fixed code:
import collections
k=collections.Counter(list(map(int,input().split())))
if len(k) == 3 or len(k) == 1:
  print('No')
else:
  print('Yes')
Buggy code:
l=list(map(int,input().split()))
if l[0]==l[1] and l[1]!=l[2]:
  print('Yes')
elif l[1]==l[2] and l[1]!=l[0]:
  print('Yes')
else:
  print('No')


Fixed code:
l=list(map(int,input().split()))
l.sort()
if l[0]==l[1] and l[1]!=l[2]:
  print('Yes')
elif l[1]==l[2] and l[1]!=l[0]:
  print('Yes')
else:
  print('No')
Buggy code:
a, b, c = map(int, input().split())
ans = 'No'
if a == b and b == c:
    ans = 'No'
elif a != b and b != c:
    ans ='No'
else:
    ans ='Yes'
print(ans)

Fixed code:
a,b,c=map(int,input().split())
if a==b and a!=c:
	print('Yes')
elif a==c and a!=b:
	print('Yes')
elif b==c and a!=b:
	print('Yes')
else:
	print('No')
Buggy code:
a, b, c = map(int, input().split())

abc = [a,b,c]
abc.sort

if abc[0] == abc[1] and abc[1] != abc[2]:
    print('Yes')
    exit()

if abc[1] == abc[2] and abc[0] != abc[1]:
    print('Yes')
    exit()


print('No')

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

abc = [a,b,c]
abc.sort()

if abc[0] == abc[1] and abc[1] != abc[2]:
    print('Yes')
    exit()

if abc[1] == abc[2] and abc[0] != abc[1]:
    print('Yes')
    exit()


print('No')
Buggy code:
a,b,c=map(int,input().split())

if a==b or b==c:
  if a!=b or b!=c:
    print("Yes")
  else:
    print("No")
else:
  print("Yes")

Fixed code:
a, b, c = map(int, input().split())
if (a == b and b != c) or (a == c and a != b) or (b == c and a != b):
    print('Yes')
else:
    print('No')
Buggy code:
def ABC_155_A():
    A,B,C = map(int, input().split())

    if (A == B and B != C) or (A != B and B == C):
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':

    ABC_155_A()

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

    if (A == B and B != C) or (A != B and B == C) or (A != B and A == C):
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':

    ABC_155_A()
Buggy code:
a = list(map(int, input().split()))
if len(set(a)) == 3:
  print('No')
else:
  print('Yes')

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

if len(set(a)) == 2:
  print('Yes')
else:
  print('No')
Buggy code:
a, b, c = map(int,input().split())
if (a == b) and (b == c) and (c == a):
  print("No")
else:
  print("Yes")

Fixed code:
a, b, c = map(int,input().split())
if (a == b) and (b == c) and (c == a):
  print("No")
elif (a != b) and (b != c) and (c != a):
  print("No")
else:
  print("Yes")
Buggy code:
[A,B,C]=[int(i) for i in input().split()]
if A==B:
	if B!=C:
		print("Yes")
	else:
		print("No")
else:
	if B==C:
		print("Yes")
	else:
		print("No")

Fixed code:
[A,B,C]=[int(i) for i in input().split()]
if A==B:
	if B!=C:
		print("Yes")
	else:
		print("No")
else:
	if B==C:
		print("Yes")
	else:
		if A==C:
			print("Yes")
		else:
			print("No")
Buggy code:
a,b,c=map(int,input().split())

if a==b and a==c :
    print("Yes")
else:
    print('No')

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

if (a==b and a==c) or (a!=b and b!=c and c!=a) :
    print("No")
else:
    print('Yes')
Buggy code:
a,b,c = map(int,input().split())
if (a==b and c==a):
    if a!=b and b!=c:print('No')
else:print('Yes')

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

if a == b and b == c:
  print("No")
elif a != b and b != c and a != c:
  print("No")
else:
  print("Yes")
Buggy code:
a,b,c = map(int,input().split())
if a==b==c or a!=b!=c!=:
  print('No')
else:
  print('Yes')

Fixed code:
a, b ,c= map(int, input().split())
msg="No"
if (a==b) :
  if (b!=c) :
    msg="Yes"
else:
  if(b==c or a==c):
    msg="Yes"
print(msg)
Buggy code:
abc = input().split()
intlist = [int(s) for s in abc]
a,b,c = intlist[0],intlist[1],intlist[2]
print("abc",a,b,c)
if (a == b & a != c) | (a == c & a != b) | (b == c & c != a):
    print("Yes")
else:
    print("No")




Fixed code:
abc = input().split()
intlist = [int(s) for s in abc]
a,b,c = intlist[0],intlist[1],intlist[2]
if (a == b and a != c) | (a == c and a != b) | (b == c and c != a):
    print("Yes")
else:
    print("No")
Buggy code:
a,b,c=map(int,input().split())
if a==b:
   print "Yes"
elif a==c:
   print "Yes"
elif b==c:
   print "Yes"
else:
   print "No"

Fixed code:
a,b,c=map(int,input().split())
if a==b==c:
    print("No")
elif a==b:
    print("Yes")
elif b==c:
    print("Yes")
elif a==c:
    print("Yes")
else:
    print("No")
Buggy code:
a, b, c = map(int, input().split())
if a == b == c:
  print('No')
  exit()
print('Yes')


Fixed code:
a, b, c = map(int, input().split())
if a == b == c:
  print('No')
  exit()
if a != b and b != c and a != c:
  print('No')
  exit()
print('Yes')
Buggy code:
A,B,C = map(int,input().split())

if (A == B) and (B != C) :
    print("yes")
elif (B == C) and (C != A) :
    print("yes")
elif (C == A) and (A != B) :
    print("yes")
else :
    print("No")

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

if (A == B) and ((B != C) and (A != C)) :
    print("Yes")
elif (B == C) and ((C != A) and (B != A)):
    print("Yes")
elif (C == A) and ((A != B) and (C != B)) :
    print("Yes")
else :
    print("No")
Buggy code:
a = [int(i) for i in input().split()]
if (a[0] == a[1] and a[2]) or (a[0] == a[2] and a[1]) or (a[2] == a[1] and a[0]):
    print('Yes')
else:
    print('No')

Fixed code:
a = [int(i) for i in input().split()]
if (a[0] == a[1] and a[0] != a[2]) or (a[0] == a[2] and a[0] != a[1]) or (a[2] == a[1] and a[2] != a[0]):
    print('Yes')
else:
    print('No')
Buggy code:
a, b, c = map(int, input().split())
if a == b:
    if a != c:
        print("Yes")
    else:
        print("NO")
elif a == c:
    print("Yes")
elif b == c:
    print("Yes")
else:
    print("NO")

Fixed code:
a, b, c = map(int, input().split())
if a == b:
    if a != c:
        print("Yes")
    else:
        print("No")
elif a == c:
    print("Yes")
elif b == c:
    print("Yes")
else:
    print("No")
Buggy code:
A,B,C = map(int,input().split())

if A == B and A != C :
	answer　= "Yes"
    
elif A == C and A != B :
	answer　= "Yes"
    
elif B == C and B != A :
	answer　= "Yes"
else:
	answer = "No"

print(answer)
    

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


if A == B and B == C:
    print("No")
elif A != B and B != C and A != C:
    print("No")
else:
    print("Yes")
Buggy code:
a,b,c=map(int,input().split())

if a == b or a == c or b == c:
  if a == b and b == c:
    print("No")
  else:
    print("Yes")
else:
  print("Yes")

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

if (a==b or a==c or b==c) and not (a==b and b==c):
    print('Yes')
else:
    print('No')
Buggy code:
a, b, c = map(int, input().split())
if a == b == c:
    print('No')
else:
    print('Yes')


Fixed code:
a, b, c = map(int, input().split())
if a == b == c:
    print('No')
elif a == b or a == c or b == c:
    print('Yes')
else:
    print('No')
Buggy code:
if len(input().split().set())==2:
  print("Yes")
else:
  print("No")

Fixed code:
a = set(input().split())
if(len(a)==2):
    print('Yes')
else:
    print('No')
Buggy code:
s = list(map(int, input().split()))
if len(list(set(s))) == 1 or len(list(set(s))) == 3:
    print('NO')
else:
    print('Yes')
print(set(s))

Fixed code:
s = list(map(int, input().split()))
if len(list(set(s))) == 1 or len(list(set(s))) == 3:
    print('No')
else:
    print('Yes')
Buggy code:
A,B,C = map(int,input().split())
if A != B and B != C:
	print("No")
elif A == B and B == C:
	print("No")
else:
	print("Yes")

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

if A == B and A != C or A == C and A != B  or B == C and A != C :
  print("Yes")
else:
  print("No")
Buggy code:
A,B,C = map(int,input().split())
if A == B and B == C:
  print('No')
else:
  print('Yes')

Fixed code:
A, B, C = map(int, input().split())
if((A == B or B == C or A == C) and not A == B == C):
  print('Yes')
else:
  print('No')
Buggy code:
import numpy as np
A, B, C = map(int, input().split())
print(A, B, C)


if len(set([A, B, C])) == 2:
    print('Yes')
else:
    print('No')


Fixed code:
import numpy as np
A, B, C = map(int, input().split())
#print(A, B, C)


if len(set([A, B, C])) == 2:
    print('Yes')
else:
    print('No')
Buggy code:
data = list(map(int, input().split()))
if len(set(data)) == 1:
    print('No')
else:
    print('Yes')


Fixed code:
data = list(map(int, input().split()))
if len(set(data)) == 2:
    print('Yes')
else:
    print('No')
Buggy code:
a,b,c = map(str,input().split())

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


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

if a == b == c:
    print("No")
elif a == b:
    print("Yes")
elif a == c:
    print("Yes")
elif b == c :
    print("Yes")
else:
    print("No")
Buggy code:
A, B, C = map(int, input().split())
if (A == B == C) or (A != B != C):
    print('No')
else:
    print('Yes')

Fixed code:
A, B, C = map(int, input().split())
if (A == B == C) or (A!=B and B!=C and C!=A):
    print('No')
else:
    print('Yes')
Buggy code:
a=list(map(int,input().split()))
if a[0]==a[1] & a[0]==[2]:
  print("Yes")
else:
  print("No")

Fixed code:
a=list(map(int,input().split()))
if(a[0]==a[1]==a[2]):
  print("No")
else:
  if (a[0]==a[1])|(a[1]==a[2])|(a[2]==a[0]):
    print("Yes")
  else:
    print("No")
Buggy code:
a, b, c = map(int, input().split())

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

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

if a == b or b == c or c == a:
    if a == b == c:
        print("No")
    else:
        print("Yes")
else:
    print("No")
Buggy code:
A,B,C=input().split()
if A==B and B==C:
  print("No")
elif:A==B or B==C or C==A:
    print("Yes")
else:
  print("No")
  

Fixed code:
A,B,C=input().split()
if A==B and B==C:
  print("No")
elif A==B or B==C or C==A:
    print("Yes")
else:
  print("No")
Buggy code:
x, y, z = input.split()
a = "No"
if x != y:
	if y = z:
      a = "Yes"
      elif x = z:
        a = "Yes"
      else: a = "No"
if x = y:
  if y = z:
    a = "No"
    elif x = z:
      a = "No"
    else: a = "Yes"
print(a)

Fixed code:
x, y, z = input().split()
a = "No"
if x != y:
    if x == z:
        a = "Yes"
    elif y == z:
        a = "Yes"
    else:
        a = "No"
if x == y:
    if x == z:
        a = "No"
    elif y == z:
        a = "No"
    else:
        a = "Yes"
print(a)
Buggy code:
ans = list(int(i) for i in input().split()) 
ans.sort()

if ans[0]==ans[1] or ans[1] == ans[2]:
    print("Yes") 
else:
    print("No")

Fixed code:
ans = list(int(i) for i in input().split()) 
ans.sort()

if ans[0] == ans[1] and ans[1] == ans[2]:
    print("No")
    exit()
    
if ans[0]==ans[1] or ans[1] == ans[2]:
    print("Yes") 
else:
    print("No")