qyliang/CodeNanoFix huggingface dataset:
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==c:
    print('No')
elif a == b or b == c or c == a:
    print("Yes")
else:
    print("No")
Buggy code:
a=input()
if (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):
  print('No')
else:
  print('Yes')

Fixed code:
a=input().split()
if (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):
  print('No')
else:
  print('Yes')
Buggy code:

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

n=0

for i in range(0,3):
  if li[i+1] - li[i] ==0:
    n++

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



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

n=0

for i in range(0,2):
  if li[i+1] - li[i] ==0:
    n+=1
if li[2] - li[0] ==0:
  n+=1

if n==1:
  print("Yes")
else:
  print("No")
Buggy code:
a,b,c = map(int,input().split())
abc = [a,b,c]
nabc = list(set(abc))

if len(abc)==len(nabc):
  print('No')
else:
  print('Yes') 

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


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

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

print('Yes' if len(s) == 2 else 'No')
Buggy code:
N=input().split
if N[0] != N[1] and N[0] != N[2] and N[1] != N[2]:
  print("No")
elif N[0] == N[1] and N[0] == N[2] and N[1] == N[2]:
  print("No") 
else:
  print("Yes")

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

ABC = input().split()

A = ABC[0]
B = ABC[1]
C = ABC[2]

if A==B:
	if B==C:
		print("No")
	else:
		print("Yes")
	exit()

if B==C:
	if A==C:
		print("No")
	else:
		print("Yes")
	exit()

if A==C:
	if B==C:
		print("No")
	else:
		print("Yes")
	exit()	


Fixed code:

ABC = input().split()

A = ABC[0]
B = ABC[1]
C = ABC[2]

if A==B:
	if B==C:
		print("No")
	else:
		print("Yes")
	exit()

if B==C:
	if A==C:
		print("No")
	else:
		print("Yes")
	exit()

if A==C:
	if B==C:
		print("No")
	else:
		print("Yes")
	exit()

print("No")
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("NO")

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

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

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

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

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

Fixed code:
i=input().split()
a=i[0]
b=i[1]
c=i[2]
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 or b=c or c=a and not a=b=c:
  print("Yes")
else:
  print("No")

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

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

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


Fixed code:
A,B,C=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[2] or a[0] < a[1] < a[2]:
  print('Yes')
else:
  print('No')

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

a.sort()
if a[0] == a[2] or a[0] < a[1] < a[2]:
  print('No')
else:
  print('Yes')
Buggy code:
a,b,c=map(int,input().split())

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

print(A)
print(B)
print(C)

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

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

if A==B:
    if B==C:
        print("No")
    else:
        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:
    if B==C:
        print("No")
    else:
        print("Yes")
else:
    print("Yes")

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:
# coding: utf-8

lst = list(map(int, input().split()))
ns = len(set(lst))
if ns == 1:
  print("No")
else:
  print("Yes")

Fixed code:
# coding: utf-8

lst = list(map(int, input().split()))
ns = len(set(lst))
if ns == 2:
  print("Yes")
else:
  print("No")
Buggy code:
import sys

def main():

    # sys.stdin = open('input155a.txt')

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

    answer = check(a, b, c)
    print(answer)

def check(a, b, c):

    for _ in range(3):
        a, b, c = b, c, a
        if a == b and b != c:
            return 'True'

    return 'False'


if __name__ == '__main__':
    main()


Fixed code:
import sys

def main():

    # sys.stdin = open('input155a.txt')

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

    answer = 'Yes' if check(a, b, c) else 'No'
    print(answer)

def check(a, b, c):

    for _ in range(3):
        a, b, c = b, c, a
        if a == b != c:
            return True

    return False


if __name__ == '__main__':
    main()
Buggy code:
A,B,C = map(int,input().split())

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

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

if A == B != C:
    print('Yes')
elif B == C != A:
    print('Yes')
elif C == A != B:
    print('Yes')
else:
    print('No')
Buggy code:
stdin = open(0)
A, B, C = map(int, stdin.read().split())
for _ in range(3):
    A, B, C = B, C, A
    if A == B != C:
        print("Yes")
else:
    print("No")

Fixed code:
stdin = open(0)

A, B, C = map(int, stdin.read().split())
for _ in range(3):
    A, B, C = B, C, A
    if A == B != C:
        print("Yes")
        break
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 or b==c or c==a:
  if a==b==c:
    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:
    if A == C:
        print("No")
    else:
        print("Yes")
elif A == C:
    if A == B:
        print("No")
    else:
        print("Yes")
elif B == C:
    if A == B:
        print("No")
    else:
        print("Yes")
else:
    print("No")
Buggy code:
import sys;

Nums = input().split(' ');
Nums.sort();

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

Fixed code:
import sys;

Nums = input().split(' ');
Nums.sort();

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

a = inputs[0]
b = inputs[1]
c = inputs[2]
if(a & b & c == a):
    print("No")
    exit(0)

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


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

a = inputs[0]
b = inputs[1]
c = inputs[2]
if(a == b and b == c and c == a):
    print("No")
    exit(0)

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

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

if len(set(ABC)) == 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:
x = list(map(int, input().split(' ')))

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

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

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

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

print(nums)

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


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

if len(set(nums)) == 2:
    print("Yes")
else:
    print("No")
Buggy code:
from collections import defaultdict

def main():
    N = list(map(int, input().split()))
    dd = defaultdict(int)

    for n in range(len(N)):
        dd[N[n]] += 1

    print('Yes') if len(dd) != 1 else print('No')

if __name__ == '__main__':
    main()


Fixed code:
from collections import defaultdict

def main():
    N = list(map(int, input().split()))
    dd = defaultdict(int)

    for n in range(len(N)):
        dd[N[n]] += 1

    print('Yes') if len(dd) == 2 else print('No')

if __name__ == '__main__':
    main()
Buggy code:
l = input().split

a = l[0]
b = l[1]
c = l[2]

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

Fixed code:
l = str(input()).split()
 
a = l[0]
b = l[1]
c = l[2]
 
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,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')


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


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

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

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

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

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

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")


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

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:
i = map(int,input(),split())
if (i[0] == i[1] and i[0] != i[2]) or (i[0] == i[2] and i[0] != i[1])  or (i[1] == i[2] and i[1] != i[0]):
  print("Yes")
else:
  print("No")

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

ary = input().split(" ")
a = ary[0]
b = ary[1]
c = ary[2]

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



Fixed code:

ary = input().split(" ")
a = ary[0]
b = ary[1]
c = ary[2]

if a == b and ( a != c or b != c )  :
  print("Yes") 
elif a == c and ( a != b or c != b ) :
  print("Yes") 
elif b == c and ( b != a 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')
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) or (A == C and C != B) or (B == C and A != C):
    print("Yes")

else:
    print("No")
Buggy code:
import sys
line = input('input A B C')
A = line.split(' ')[0]
B = line.split(' ')[1]
C = line.split(' ')[2]

cnt_a = [A,B,C].count(A)
cnt_b = [A,B,C].count(B)
cnt_c = [A,B,C].count(C)

if cnt_a == 3:
  print("No")
elif cnt_a == 2 or cnt_b == 2 or cnt_c == 2:
  print("Yes")
else:
  print('No')


Fixed code:
line = input('')
A = line.split(' ')[0]
B = line.split(' ')[1]
C = line.split(' ')[2]

cnt_a = [A,B,C].count(A)
cnt_b = [A,B,C].count(B)
cnt_c = [A,B,C].count(C)

if cnt_a == 3:
  print("No")
elif cnt_a == 2 or cnt_b == 2 or cnt_c == 2:
  print("Yes")
else:
  print('No')
Buggy code:
def is_kawaisou(a, b, c):
    if a == b:
        return 'Yes'
    if b == c:
        return 'Yes'
    if a == c:
        return 'Yes'
    else:
        return 'No'

if __name__=='__main__':
    a,b,c = map(int, input().split())
    print(is_kawaisou(a, b, c))

Fixed code:
def is_kawaisou(a, b, c):
    if a == b and a == c:
        return 'No'
    if a == b or b == c or a == c:
        return 'Yes'
    else:
        return 'No'


if __name__ == '__main__':
    a, b, c = map(int, input().split())
    print(is_kawaisou(a, b, c))
Buggy code:
a,b,c = map(int,input().split())

s = set(["a","b","c"])

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

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

s = set([a,b,c])

if len(s) == 2:
  print("Yes")
else:
  print("No")
Buggy code:
def solve(a, b, c):
    if (a == b and a != c) or (b == c and a != c) or (c == a and a != b):
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    a, b, c = map(int, input().split())

Fixed code:
def solve(a, b, c):
    if (a == b and a != c) or (b == c and a != c) or (c == a and a != b):
        print('Yes')
    else:
        print('No')



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

a = set(a,b,c)

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

r = 0
r += 1 if a == b else 0
r += 1 if a == c else 0
r += 1 if b == c else 0

if r == 1:
    print('Yse')
else:
    print('No')


Fixed code:
a, b, c = map(int, input().split())
 
r = 0
r += 1 if a == b else 0
r += 1 if a == c else 0
r += 1 if b == c else 0
 
if r == 1:
    print('Yes')
else:
    print('No')
Buggy code:
a, b, c = map(int, input().split())

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

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 != 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:
  print("No")
else:
  print("Yes")

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 b==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 C == B) and (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:
    if C == A:
        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())
if A==B and B==C and C==A:
  print("No")
elif A!=B and B!=C and C!=A:
  print("No")
alse:
  print("Yes")

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

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

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