qyliang/CodeNanoFix huggingface dataset:
Buggy code:
a, b, c = map(int, input().split())

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

Fixed code:
a, b, c = map(int, input().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:
A, B, C = map(int, input().split())

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1

if cnt == 0 or cnt == 2:
    print('No')
if cnt == 1:
    print('Yes')

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

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1
if C == A:
    cnt += 1
    
if cnt == 0 or cnt == 3:
    print('No')

if cnt == 1:
    print('Yes')
Buggy code:
A,B,C = map(int,input().split())
if A!=B!=C and A==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 ) or (A == B and B == C)):
    print("No")
else:
    print("Yes")
Buggy code:
a, b, c = map(int, input().split())

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

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

if a==b==c:
    print('No')
elif a==b or b==c or c==a:
    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 b == c) or (not a==b and not b==c and not c==a):
    print("No")
else:
    print("Yes")
Buggy code:
a=list(map(int,input().split()))
b=set(a)
print('No' if len(a)-len(b)==1 else 'Yes')


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

set = {}

set.add(a)
set.add(b)
set.add(c)

if len(s) == 2: 
  print("Yes")
else:
  print("No")

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

s = set()

s.add(a)
s.add(b)
s.add(c)

if len(s) == 2: 
  print("Yes")
else:
  print("No")
Buggy code:
from sys import stdin

a, b, c = stdin.readline().rstrip().split()

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

Fixed code:
from sys import stdin

a, b, c = stdin.readline().rstrip().split()

if not a==b==c:
    if a == b or a == c or b == c:
        print("Yes")
    else:
        print("No")
else:
    print("No")
Buggy 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:
    print("No")
else:
    print("Yes")

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:
    print("No")
else:
    print("Yes")
Buggy code:
a,b,c=map(int,input().split())
count=0
if a==b:
    count+=1
elif b==c:
    count+=1
elif a==c:
    count+=1
if count==1:
    print("Yes")
else:
    print("No")

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

count = 0
if a==b:
    count = count + 1
if a == c:
    count = count + 1
if b == c:
    count = count + 1

if count == 1:
    print('Yes')
else:
    print('No')
Buggy code:
A = list(map(int,input().split()))

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

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

if newA[0]==newA[1]==newA[2]:
    print("No")
elif newA[0]  == newA[1] or newA[1] == newA[2]:
    print("Yes")
else:
    print("No")
Buggy code:
    A = list(map(int,input().split()))
    print(A)
    for i in range(3):
        if sum(x==A[i] for x in A) == 1:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    print("No")


Fixed code:
def solve():
    A = list(map(int,input().split()))
    for i in range(3):
        if sum(x==A[i] for x in A) == 1 or sum(x==A[i] for x in A) == 3:
            continue
        elif sum(x==A[i] for x in A) ==2:
            print("Yes")
            return
    print("No")

solve()
Buggy code:
a,b,c=map(int,input().split())
same=0
if a==b:
    same=same+1
elif b==c:
    same=same+1
elif c==a:
    same=same+1

if same==1:
    print('Yes')
else:
    print('No')

Fixed code:
a,b,c=map(int,input().split())
same=0
if a==b:
    same=same+1
if b==c:
    same=same+1
if c==a:
    same=same+1

if same==1:
    print('Yes')
else:
    print('No')
Buggy code:
A = set(int,input().split())

if len(A)==2:
    print("Yes")
else:
    print("No")

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

if len(A)==2:
    print("Yes")
else:
    print("No")
Buggy code:
list=[int(x) for x in input().split()]
count=0
for i in range(1,len(list)):
  if list[i-1]==list[i]:
    count=count+1
if count==1:
  print("Yes")
else:
  print("No")
  

Fixed code:
list=[int(x) for x in input().split()]
count=0
list.sort()
for i in range(1,len(list)):
  if list[i-1]==list[i]:
    count=count+1
if count==1:
  print("Yes")
else:
  print("No")
Buggy code:
list = input().split()

for i in range(0, len(list)):
	list[i] = int(list[i])
    
a = list[0]
b = list[1]
c = list[2]

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

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

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

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

if a == b:
  if a == c:
    print("No")
  else:
    print("Yes")
else:
  if a == c:
    print("Yes")
  else:
    if b == c:
      print("Yes")
    else:
      print("No")
Buggy code:
[A,B,C] = list(map(int,input().split()))
l = [A,B,C]
l.sort()

if (l[0]+l[1]+l[2])/3 > l[0]:
  if l[0] == l[1] or l[1] == l[2]:
    print("Yes")
  else:
    print("No")
else:
  print("Yes") 

Fixed code:
[A,B,C] = list(map(int,input().split()))
l = [A,B,C]
l.sort()

if (l[0]+l[1]+l[2])/3 > l[0]:
  if l[0] == l[1] or l[1] == l[2]:
    print("Yes")
  else:
    print("No")
else:
  print("No")
Buggy code:
def solve():
    A, B, C = map(int,input().split())
    if A == B and A == C:
        print('No')
    else:
        print('Yes')


if __name__ == '__main__':
    solve()

Fixed code:
def solve():
    A, B, C = map(int,input().split())
    if A == B and A == C:
        print('No')
    elif A != B and A != C and B != C:
        print('No')
    else:
        print('Yes')


if __name__ == '__main__':
    solve()
Buggy code:
a,b,c=(int(x) for x in input().split())
if a==b or a==c:
  if c!=a or b!=a:
    print("Yes")
elif b==c:
  print("Yes")
else:
  print("No")

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

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

N = set(N)

if len(N) == 3:
  print('No')
else:
  print('Yes')

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

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

if A == B and B == C:
    print("No")

elif A == B or A == C or B == C:
    print("Yes")

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


Fixed code:
a,b,c=(int(x) for x in input().split())
 
if a == b or a == c or b == c:
    if a == b == c:
        print("No")
    else:
        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 or b == c != a or c == a != b:
    print('Yes')
else:
    print('No')
Buggy code:
A,B,C=map(int,input().split())


if A==B and B==C or 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 A != B and B == C:
  print("Yes")
elif A == C and B != C:
  print("Yes")
else:
  print("No")
Buggy code:
a,b,c = map(int, input().split())

f a == b:
    if b == c:
        print('No')
    else:
        print('Yes')
elif b == c:
    print('Yes')
elif c == a:
    print('Yes')
else:
    print('No')

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

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

l=set(a)

if len(l)==1:
  print('Yes')
else:
  print('No')



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

l=set(a)

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

Fixed code:
a,b,c = map(int,input().split())
ans = "Yes" if len(set((a,b,c))) == 2 else "No"
print(ans)
Buggy code:
a,b,c=map(int,input().split())
print("No" if a==b==c or a!=b!=c else "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 != b):
    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:
    print('Yes')
elif A == C and A != B:
    print('Yes')
elif B == C and B != A:
    print('Yes')
else:
    print('No')
Buggy code:
lst = map(int, input().split())
print('Yes' if set(len(lst)) >= 2 else 'No')

Fixed code:
lst = list(map(int, input().split()))
print('Yes' if len(set(lst)) == 2 else 'No')
Buggy code:
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A,B,C = map(int, readline().split())
if (A == B and B != C) or (B == C and C != A)  (A == C and C != B):
    print('Yes')
else:
    print('No')

Fixed code:
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A,B,C = map(int, readline().split())
if (A == B and B != C) or (B == C and C != A) or (A == C and 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 and A != C:
    print("Yes")
elif A == C and A != B:
    print("Yes")
elif B == C and C != A:
    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')
print('No')

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

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

Fixed code:
num=list(map(int,input().split()))
print('Yes' if len(num) == len(set(num))+1 else 'No')
Buggy code:
a, b, c = map(int, input().split())
if a == b && a != c:
  print('Yes')
elif a == c && a != b:
  print('Yes')
elif b == c && a != c:
  print('Yes')
else:
  print('No')

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 (b != a):
    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 and A!=C) or (A==C and B!=A) or (B==C and A!=B):
    print("Yes")
else:
    print("No")
Buggy code:
a = input().split()
count = 0
if a[0] == a[1]:
    count = count + 1
if a[1] == a[2]:
    count = count + 1
if a[0] == a[2]:
    count = count + 1
print("Yes" if count == 2 else "No")

Fixed code:
a = input().split()
count = 0
if a[0] == a[1]:
    count = count + 1
if a[1] == a[2]:
    count = count + 1
if a[0] == a[2]:
    count = count + 1
print("Yes" if count == 1 else "No")
Buggy code:
a = input().split()
a = set(a)
"Yes" if len(a) == 2 else "No"

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

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


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

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

res = "No"
if a==b:
    if a!=c:
        res = "Yes"
    else:
        res = "No"
if c==b:
    if a!=c:
        res = "Yes"
    else:
        res = "No"
if a==c:
    if a!=b:
        res = "Yes"
    else:
        res = "No"
        
print(res)
Buggy code:
a = list(map(int,input().split()))
if(len(set(a)) == 1):
    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:
    print('Yes')
    exit()
if b == c and c != a:
    print('Yes')
    exit()
print('No')


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

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

ab = a == b
bc = b == c
ca = c == a

cnt = 0
for r in [ab, bc, ca]:
  if r:
    cnt += 1

if cnt == 2:
  print("Yes")
else:
  print("No")

Fixed code:
a, b, c = [int(i) for i in input().split(" ")]
 
ab = a == b
bc = b == c
ca = c == a
 
cnt = 0
for r in [ab, bc, ca]:
  if r:
    cnt += 1

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

A=str(A);B=str(B);C=str(C);

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


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

A=str(A);B=str(B);C=str(C);
if A == B:
  if A == C:
    print('No')
  else:
    print('Yes')
else:
  if A == C:
    print('Yes')
  elif B == C:
    print('Yes')
  else:
    print('No')
Buggy code:
A, B, C = input().split()

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

Fixed code:
A, B, C = input().split()
if A == B == C:
    print('No')
elif A == B:
    if A != C:
        print('Yes')
elif A == C:
    if A != B:
        print('Yes')
elif B == C:
    if B != A:
        print('Yes')

else:
    print('No')
Buggy code:
A,B,C=map(int,input().split())
ans = 0
if A==B:
  ans = ans+1
if B==C:
  ans=ans+1
if A==C:
  ans=ans+1
if ans==3:
  print("Yes")
else:
  print("No")

Fixed code:
A,B,C=map(int,input().split())
ans = 0
if A==B:
  ans = ans+1
if B==C:
  ans=ans+1
if A==C:
  ans=ans+1
if ans==3 or ans==0:
  print("No")
else:
  print("Yes")
Buggy code:
a, b, c = map(int, input().split())
if a == b or a == c or b == c:
  print("Yes")
else:
  print("No")

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

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

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

Fixed code:
x=input()
y=x.split()

if y[0] == y[1] :
    if y[0] == y[2]:
        print("No")
    else:
        print("Yes")
elif y[0] == y[2] :
    print("Yes")
elif y[2] == y[1] :
        print("Yes")
else:
    print("No")
Buggy code:
a, b ,c = map(int,input().split())
if a == b or b == c or a == c:
  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 or b == c or a == c:
  print("Yes")
else:
  print("No")
Buggy code:
a,b,c=[int(x) for x in input().split()]
if a==b and b==c:
  print("Yes")
else:
  print("No")

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

hoge = {a, b, c}

if len(hoge) == 2:
  print(Yes)
else:
  print(No)

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

hoge = {a, b, c}

if len(hoge) == 2:
  print("Yes")
else:
  print("No")
Buggy code:
abc = map(int,input().split())
if len(abc) == len(set(abc)):
  print("No")
  exit()
print("Yes")abc = list(map(int, input().split()))
if len(abc) == len(set(abc)):
    print("No")
    exit()
print("Yes")


Fixed code:
abc = list(map(int, input().split()))
a = len(set(abc))
if len(set(abc)) == 2:
    print("Yes")
    exit()
print("No")
Buggy code:
a,b,c=[int(s) for s in input().split()]
if (a-b)*(b-c)*(c-a)==0:
  if (a-b)**2+(b-c)**2+(c-a)**2==0:
    print('No')
  else:
    print('No')
else:
  print('No')

Fixed code:
a,b,c=[int(s) for s in input().split()]
if (a-b)*(b-c)*(c-a)==0:
  if (a-b)**2+(b-c)**2+(c-a)**2==0:
    print('No')
  else:
    print('Yes')
else:
  print('No')
Buggy code:
a = input().split()
x=a[0]
y=a[1]
z=a[2]
if x==y:
    if x==z:
        print("Yo")
    else:
        print("Yes")
else:
    if x==z:
        print("Yes")
    else:
        if y==z:
            print("Yes")
        else:
            print("No")

            

Fixed code:
a = input().split()
x=a[0]
y=a[1]
z=a[2]
if x==y:
    if x==z:
        print("No")
    else:
        print("Yes")
else:
    if x==z:
        print("Yes")
    else:
        if y==z:
            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 = map(int, input().split())
i = 0
if a == b and b != c:
  i = 1
elif a != b and b == c:
  i = 1

print('Yes' if i else 'No')

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

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

Fixed code:
a,b,c = list(map(int, input().split()))
if (a==b and b!=c) or (b==c and b!=a) or (a==c and b!=c):
    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 and a != c:
    print("Yes")
elif a == c and a != b:
    print("Yes")
elif b == c and b != a:
    print("Yes")
else:
    print("No")
Buggy code:
x = input().split()

if  x[0]== x[1] != x[2]:
    print("yes")
elif x[1] == x[2] != x[0]:
    print("yes")
elif x[2] == x[0] != x[1]:
    print("yes")
else:
    print("No")

Fixed code:
x = input().split(' ')

if  x[0] == x[1] != x[2]:
    print("Yes")
elif x[1] == x[2] != x[0]:
    print("Yes")
elif x[2] == x[0] != x[1]:
    print("Yes")
else:
    print("No")
Buggy code:
l = input().split()
print( "Yes" (len(set(l)) == 2) else "No")

Fixed code:
l = input().split()
print( "Yes" if (len(set(l)) == 2) else "No")
Buggy code:
ABC = input().split()

if len(set(ABC)) == 2:
    print 'Yes'
else:
    print 'No'

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

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

Fixed code:
a,b,c = map(int, input().split())
ans = "Yes"
if (a!=b and b!=c and a!=c or a==b==c):
    ans = "No"
print(ans)
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=list(map(int,input().split()))
if (A==B and B!=C) or (A!=B and B==C) or (A==C and B!=C):
    print('Yes')
else:
    print('No')
Buggy code:
N = input()
N = N.split()


def main():
    if (N[0] == N[1]) and (N[1] == N[2]):
        return 'Yes'

    if (N[0] != N[1]) and (N[1] != N[2]):
        return 'Yes'

    return 'No'


print(main())


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


def main():
    if (N[0] == N[1]) and (N[1] == N[2]) and N[2] == N[0]:
        return 'No'

    if (N[0] != N[1]) and (N[1] != N[2]) and (N[0] != N[2]):
        return 'No'

    return 'Yes'


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

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

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

Fixed code:
A,B,C = map(int,input().split())
if((A==B and A!=C) or (A==C and B!=C) or (C==B and A!=B)):
    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) and (a != c)) or ((a==c) and (a != b)) or ((c==b) and (a != c)):
    print("Yes")
else:
    print("No")
Buggy code:
a,b,c=map(int,input().split())
if a==b and b==c:
  ans="Yes"
else:
  ans="No"
print(ans)

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