qyliang/CodeNanoFix huggingface dataset:
Buggy code:
from sys import stdin 
input = stdin.readline
A,B,C=map(int,input().split())
if A != B:
  if  B==C:
      print("Yes")
  else:
    print("No")
elif B != C:
  if A==B:
    print("Yes")
  else:
    print("No")
elif C != A:
  if A==B:
    print("Yes")
  else:
    print("No")
else:
  print("No")

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

Fixed code:
a,b,c=map(int,input().split())
if a==b and b==c:
  print('No')
else:
  if 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] or A[0] == A[2] or A[1] == A[2]:
    print('Yes')
else:
    print('No')


Fixed code:
A = list(map(int, input().split()))
if A[0] == A[1] and A[1] == A[2]:
    print('No')
elif A[0] == A[1] or A[0] == A[2] or A[1] == 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 b != c or a == c and b != c or b == c and b != a:
    print("Yes")
else:
    print("No")
Buggy code:
from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values()
	if i==2:
	    print("Yes")
      	exit()
print("No")

Fixed code:
from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
    if i==2:
        print("Yes")
        exit()
print("No")
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 or B==C or C==A) and (A!=B or B!=C or C!=A)):
    print("Yes")
else:
    print("No")
Buggy code:
a,b,c=map(int,input().split())
l=[]
l.append(a)
l.append(b)
l.append(c)
l.sort()

if l[0]==l[1]:
    if l[0]!=l[2]:
        print("Yes")
    else:
        print("No")

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

Fixed code:
a,b,c=map(int,input().split())
l=[]
l.append(a)
l.append(b)
l.append(c)
l.sort()

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

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

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

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

if A == 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()
if x == y:
  if x == z and y == z:
    print("No")
  elif x != z and y != z:
    print("No")
  else:
    print("Yes")
elif x == z:
  if x == y and y == z:
    print("No")
  elif x != y and y != z:
    print("No")
  else:
    print("Yes")
elif y == z:
  if x == y and x == z:
    print("No")
  elif x != y and x != z:
    print("No")
  else:
    print("Yes")
else:
  print("No")

Fixed code:
x, y, z = input().split()
if x == y:
  if x == z and y == z:
    print("No")
  else:
    print("Yes")
elif x == z:
  if x == y and y == z:
    print("No")
  else:
    print("Yes")
elif y == z:
  if x == y and x == z:
    print("No")
  else:
    print("Yes")
else:
  print("No")
Buggy code:
abc = map(int, input().split())

abc_set = set(abc)

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

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

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

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

if a==b and b== c and a== 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 or a == c or b == c:
    print('Yes')
else:
    print('No')
Buggy code:
import sys
input = sys.stdin.readline


def main():
    A, B, C = map(int, input().split())
    print("No") if A == B and B == C else print("Yes")


if __name__ == '__main__':
    main()


Fixed code:
import sys
input = sys.stdin.readline


def main():
    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")


if __name__ == '__main__':
    main()
Buggy code:
items = list(map(int, input().split()))

flg = False
for item in items:
  if items.count(item) >= 2:
    print('Yes')
    flg = True
    break
if not flg:
  print('No')

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

flg = False
for item in items:
  if items.count(item) == 2:
    print('Yes')
    flg = True
    break
if not flg:
  print('No')
Buggy code:
a, b, c = map(int, input().split())
if (a == c or a == b):
    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 == C :
  print("No")
else:
  print("Yes")

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

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

Fixed code:
a,b,c = input().split()
if a==b and c != b and c != a:
  print('Yes')
elif b==c and a != b and a != c:
  print('Yes')
elif c==a and b != a 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 == 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 and a == c and 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 a!=c) or (c==a and b!=c):
  print("Yes")
else:
  print("No")
Buggy code:
a,b,c = map(int,input().split())
ls=[a-b,b-c,c-a]
t = 0
for i in range(3):
    if ls[i] != 0:
        t += 1
if t >0:
    print("Yes")
else:
    print("No")

Fixed code:
a,b,c = map(int,input().split())
ls=[a-b,b-c,c-a]
t = 0
for i in range(3):
    if ls[i] == 0:
        t += 1
if t ==1:
    print("Yes")
else:
    print("No")
Buggy code:
n = list(map(int,input().split()))
ans = 'Yes'

if len(set(n)) == 1:
  ans = 'No'

print(ans)

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

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

N = {A,B,C}
if len(N) == 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")
elif a != b and b != c and c != a:
  print("No")
else:
  ("Yes")
  

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

if a == b and 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=input().split()
if a==b==c or a!=b!=c:
  print('No')
else:
  print('Yes')

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

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

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

if A==B==C:
  print('No')
else:
  if A==B or A==C or B==C:
    print('Yes')
  else:
    print('No')
Buggy code:
A, B, C = int(input().split())
if A == B or B == C or C == A:
  if A == B and B == C:
    print('No')
  else:
    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) and (B == C):
    print("No")
  else:
    print("Yes")
else:
  print("No")
Buggy code:
a=int(input().split(" "))
a1,a2,a3=int(a[0]),(a[1]),int(a[2])
ans="No"
if a1!=a2 and (a1==a3 or a2==a3):
  ans="Yes"
if a1!=a3 and (a1==a2 or a2==a3):
  ans="Yes"
if a2!=a3 and (a1==a2 or a1==a3):
  ans="Yes"

Fixed code:
a=input().split(" ")
a1,a2,a3=int(a[0]),int(a[1]),int(a[2])
ans="No"
if a1!=a2 and (a1==a3 or a2==a3):
  ans="Yes"
if a1!=a3 and (a1==a2 or a2==a3):
  ans="Yes"
if a2!=a3 and (a1==a2 or a1==a3):
  ans="Yes"
  
print(ans)
Buggy code:
def main():
    A, B, C = input().split()
    if A == B and A == C:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()

Fixed code:
def main():
    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")

if __name__ == "__main__":
    main()
Buggy code:
lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+c == 4:
    print("Yes")
else:
    print("No")

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

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

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

ans = "No"

if (a == b or a== c or b == c) and not (a==b==c): ans = "Yes"
  
print(ans)

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

ans = "No"

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

Fixed code:
i = list(map(int, input().split()))
A = i[0]
B = i[1]
C = i[2]
if A == B != C :
  print('Yes')
elif A != B == C :
  print('Yes')
elif A == C != B :
  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 A!=C)or(A==C and A!=B)or(B==C and A!=C):
  print('Yes')
else:
  print('No')
Buggy code:

def main():
    n = set(map(int, input().split()))
    if len(n) == 2:
        print('Yes')
    else:
        print('NO')


if __name__ == "__main__":
    main()


Fixed code:

def main():
    n = set(map(int, input().split()))
    if len(n) == 2:
        print('Yes')
    else:
        print('No')


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


Fixed code:
aa=list(map(int,input().split()))
a=aa[0]
b=aa[1]
c=aa[2]
if a==b and a==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 or b==c or a==c:
  print('Yes')
else:
  print('No')

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

Fixed code:
a,b,c=input().split()
if (a==b and b==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==c:
    print('No')
elif a==b!=c or a !=b ==c or a==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 and b!=c and c!=a : print("No")
else: print("Yes")
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:
    if b != c:
        print('Yes')
    else:
        print('No')
elif b == c:
    if a != b:
        print('Yes')
    else:
        print('No')
elif c == a:
    if a != b:
        print('Yes')
    else:
        print('No')
else:
    print('No')
Buggy code:
hoge = input().split()
 
aaa = 0  
if hoge[0] == hoge[1]:
  aaa += 1
if hoge[0] == hoge[2]:
  aaa += 1
if hoge[1] == hoge[2]:
  aaa += 1    

if aaa = 1:
  print("Yes")
else:
  print("No")
	

Fixed code:
hoge = input().split()
 
aaa = 0  
if hoge[0] == hoge[1]:
  aaa += 1
if hoge[0] == hoge[2]:
  aaa += 1
if hoge[1] == hoge[2]:
  aaa += 1    
 
if (aaa == 1) or (aaa == 2):
  print("Yes")
else:
  print("No")
Buggy code:
A, B, C = map(int,input().split())
if A = B and B != C:
    print('Yes')
elif C = B and C != A:
    print('Yes')
elif A = C and C != B:
    print('Yes')
else('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 != B):
    print("Yes")
else:
    print("No")
Buggy code:
a, b, c = map(int, input().split())

poor="No"
if a!=b:
    poor="Yes"
elif b!=c:
    poor="Yes"
elif c!=a:
    poor="Yes"

print(poor)



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

poor="No"
if a!=b and (b==c or a==c):
    poor="Yes"
elif b!=c and (b==a or c==a):
    poor="Yes"
elif c!=a and (c==b or a==b):
    poor="Yes"

print(poor)
Buggy code:
X,Y,Z = map(int,input().split())
if(X == Y == Z):
    print("No")
else:
    print("Yes")

Fixed code:
X,Y,Z = map(int,input().split())
if(X == Y):
    if(Y == Z):
        print("No")
    else:
        print("Yes")
elif(X == Z):
    if(X == Y):
        print("No")
    else:
        print("Yes")
elif(Y == Z):
    if(X == Y):
        print("No")
    else:
        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 B == C and C==A) or (A!=B and B != C and C!=A) ):
    print("No")
else:
    print("Yes")
Buggy code:
from collections import Counter

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

L = []
L.append(A)
L.append(B)
L.append(C)

c = Counter(L)

if max(c.values()):
    print("Yes")
else:
    print("No")




Fixed code:
from collections import Counter

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

L = []
L.append(A)
L.append(B)
L.append(C)

c = Counter(L)

if max(c.values()) == 2:
    print("Yes")
else:
    print("No")
Buggy code:
n_list = set(input().split())

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

Fixed code:
n_list = set(input().split())

if len(n_list)== 2:
  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:
print("Yes" if set(map(int,input().split())).len()==2 else "No")

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

if list[0] == list[1] and list[1] == list[2] and list[0] == list[2]:
    print('No')
elif list[0] != list[1] and list[2] != list[2] and list[0] != list[2]:
    print('No')
else:
    print('Yes')

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

if list[0] == list[1] and list[1] == list[2] and list[0] == list[2]:
    print('No')
elif list[0] != list[1] and list[1] != list[2] and list[0] != list[2]:
    print('No')
else:
    print('Yes')
Buggy code:
'''
st=set(map(int, input().split()))

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

print('Yes' if len(set(map(int, input().split())))==2 'No')

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

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

Fixed code:
A = map(int,input().split())
if len(set(A) ) == 2:
    print("Yes")
else:
    print("No")
Buggy code:
a,b,c=map(int,input().split())
l=[b,c]
ans=0
for i in l:
  if a==i:
    ans+=1
if b==c:
  ans+=1
if ans==1:
  print("No")
else:
  print("Yes")

Fixed code:
a,b,c=map(int,input().split())
l=[b,c]
ans=0
for i in l:
  if a==i:
    ans+=1
if b==c:
  ans+=1
if ans==1:
  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):
    if (b==c):
        print("No")
    else:
        print("Yes")
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 or a == c or b == c: 
  if a == b == c:
    print('No')
  print('Yes')
else:
  print('No')

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


Fixed code:
a = input()
mylist = list(map(int, a.split(" ")))
A = mylist[0]
B = mylist[1]
C = mylist[2]
 
if (A == B and B != C):
  print("Yes")
elif (A == C and B != C):
  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)&(b==c):
  print("No")
else:
  print("Yes")
 

Fixed code:
a,b,c = map(int,input().split())
if ((a==b)&(b!=c))|((a==c)&(a!=b))|((b==c)&(a!=b)):
  print("Yes")
else:
  print("No")
Buggy code:
n = list(map(int, input().split()))
if a[0] == a[1] and a[1] == a[2]:
  print("No")
elif 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("Yes")
elif a[0] != a[1] and a[1] == a[2]:
    print("Yes")
else:
    print("No")
Buggy code:
lst=set(map(int,input().split(" ")))
if len(set)==2:
  print("Yes")
else:print("No")

Fixed code:
a = map(int, input().split())
if len(set(a)) == 2:
    print('Yes')
else:
    print('No')
Buggy code:
x, y, z = map(int, input().split())
if x == y == z or x != y != z:
    print("No")
else:
    print("Yes")


Fixed code:
x, y, z = map(int, input().split())
if x == y == z or x != y != z and z != x:
    print("No")
else:
    print("Yes")
Buggy code:
import sys
 
line = [l for l in sys.stdin][0]
digits = line.split(' ')
num = [int(s) for s in digits]
 
res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'
print(res)

Fixed code:
import sys
 
line = [l for l in sys.stdin][0]
digits = line.split(' ')
num = [int(s) for s in digits]
 
res = 'No'
if num[0] == num[1]:
  if num[0] != num[2]:
    res = 'Yes'
    
if num[1] == num[2]:
  if num[1] != num[0]:
    res = 'Yes'

if num[2] == num[0]:
  if num[2] != num[1]:
    res = 'Yes'
    
print(res)
Buggy code:
a = list(map(int,input().split()))
ans = "No"
 
if a[0] == a[1]:
  a[0] != a[2]:
   	ans = "Yes"
else:
  a[0] == a[2]:
    ans = "Yes"
    
print(ans)

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

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

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

l = list(map(int, input().split()))

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

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

if l[0]==l[1] and l[1]==l[2]:
    print("No")
else:
    if l[0] == l[1] or l[2] == l[1] or l[2]==l[0]:
        print("Yes")
    else:
        print("No")
Buggy code:
import sys
 
if __name__ == '__main__':
  args = input().split()
  ret="No"
  if (args[0] == args[1] or args[0] == args[2] or args[1] == args[2]):
    ret="Yes"
    
  print(ret)


Fixed code:
import sys
 
if __name__ == '__main__':
  args = input().split()
  ret="No"
  if ((args[0] == args[1] or args[0] == args[2] or args[1] == args[2]) and (args[0] != args[1] or args[1] != args[2])):
    ret="Yes"
    
  print(ret)
Buggy code:
S = list(map(int,input().split())
print("Yes" if len(set(S))==2 else "No")

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

s = set([a, b, c])
if (len(s) == 3):
    print("No")
else:
    print("Yes")

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

s = set([a, b, c])
if (len(s) == 3 or len(s) == 1):
    print("No")
else:
    print("Yes")