ZhenlongDai/ACPR huggingface dataset:
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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")

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = map(int,input().split())

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = input().split()

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

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = 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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if (a==b)&(b==c):
  print("No")
else:
  print("Yes")
 

Failing test case input:
12 4 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
i = list(map(str, input().split()))
poor = False
if i[0] == i[1] and i[0] != i[2]:
    poor = True
if i[0] == i[2] and i[0] != i[1]:
    poor = True
if poor:
    print('Yes')
else:
    print('No')

Failing test case input:
18 3 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
i = list(map(str, input().split()))
poor = False
if i[0] == i[1] and i[0] != i[2]:
    poor = True
if i[0] == i[2] and i[0] != i[1]:
    poor = True
if i[1] == i[2] and i[0] != i[1]:
    poor = True
if poor:
    print('Yes')
else:
    print('No')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
lst = list(map(int, input().split()))
print('Yes' if len(set(lst)) >= 2 else 'No')

Failing test case input:
2 4 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
lst = list(map(int, input().split()))
print('Yes' if len(set(lst)) == 2 else 'No')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y,Z = map(int,input().split())
if(X == Y):
    if(Y != Z):
        print("Yes")
    else:
        print("No")
elif(X == Z):
    if(X != Y):
        print("Yes")
    else:
        print("No")
else:
    print("No")

Failing test case input:
14 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())
print('Yes' if len(set([A, B, C])) != 1 else 'No')

Failing test case input:
7 3 12

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())
print('Yes' if len(set([A, B, C])) == 2 else 'No')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
num = [x for x in input().split()]
print(num)
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

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


Failing test case input:
6 5 4

Expected output:
No


Actual output:
['6', '5', '4']
No


Fixed submission (verdict: Accepted):
num = [x for x in input().split()]
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c, = map(int, input().split())

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


Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c, = map(int, input().split())

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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")

Failing test case input:
7 4 -8

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
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")
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a!=b and a!=c and b==c:
  print("Yes")
if b!=a and b!=c and a==c:
  print("Yes")
if c!=a and c!=b and a==b:
  print("Yes")
else:
  print("No")

Failing test case input:
14 2 2

Expected output:
Yes


Actual output:
Yes
No


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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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")
  

Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b == c or a != b != c:
    print("No")
else:
    print("Yes")

Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a == b != c or a != b == c or a == c != b:
    print("Yes")
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print("No" if a==b==c or a!=b!=c else "Yes")

Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a=set(map(int,input().split()))
print("Yes" if len(a)==2 else "No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input('').split(' '))
if(A == B and B == C):
    print('No')
else:
    print('Yes')

Failing test case input:
1 4 26

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = list(map(int, input().split()))
A = sorted(A)
if A[0] == A[1] and A[1] != A[2]:
    print("Yes")
else:
    print("No")

Failing test case input:
3 3 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")
Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  

a,b,c=na()
print('No') if a == b and b == c else print('Yes')


Failing test case input:
11 4 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A , B, C = map(int, input().split())
L = [A,B,C]
if not len(set(L)) == len(L):
    print("No")
else:
    print("Yes")

Failing test case input:
5 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A , B, C = map(int, input().split())
L = [A,B,C]
if len(set(L)) == 2:
    print("Yes")
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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')

Failing test case input:
0 2 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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 [1]==a[2]):print("Yes")
else :print("No")

Failing test case input:
3 3 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = list(map(int, input().split()))
print(x)
x = sorted(x)
print(x)
if x[0] == x[1] and x[1] != x[2]:
     print("Yes")
else:
     print("No")


Failing test case input:
3 5 6

Expected output:
No


Actual output:
[3, 5, 6]
[3, 5, 6]
No


Fixed submission (verdict: Accepted):
x = list(map(int, input().split()))
x = sorted(x)
if x.count(x[1]) == 2:
     print("Yes")
else:
     print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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")

Failing test case input:
1 1 17

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
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")
Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=map(int,input().split())

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

Failing test case input:
14 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N =[int(i) for i in input().split(" ")]
j=0
count=0
for k in range(1,len(N)):
    if N[j]==N[k]:
        count += 1

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

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
N =[int(i) for i in input().split(" ")]
count=0
for j in range(len(N)-1):
    for k in range(j+1,len(N)):
        if N[j]==N[k]:
            count += 1
if count==1:
    print("Yes")
else:
    print("No")

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=map(int,input().split())

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

Failing test case input:
18 3 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
i = list(map(int, input().split()))

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

Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
i = list(map(int, input().split()))
 
if i[0]==i[1] and i[1]==i[2]:
    print("No")
elif i[0]!=i[1] and i[1]!=i[2] and i[0]!=i[2]:
    print("No")
else:
    print("Yes")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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')


Failing test case input:
7 3 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = input().split()
if a == b == c:
  print("No")
else:
  print("Yes")

Failing test case input:
1 4 26

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = set(input().split())
if len(a) == 2:
  print("Yes")
else:
  print("No")
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=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 b != a:
        print('yes')
    else:
        print("no")
else:
    print("no")


Failing test case input:
3 4 -3

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
a,b,c=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 b != a:
        print('Yes')
    else:
        print("No")
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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!=c:
  print("yes")
else:
  print("no")

Failing test case input:
7 1 12

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
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!=c:
  print("Yes")
else:
  print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


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


print(A,B,C)


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



print("{}".format(ans))

Failing test case input:
7 1 10

Expected output:
No


Actual output:
7 1 10
No


Fixed submission (verdict: Accepted):


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


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



print(ans)

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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]:
        print("Yes")
    else:
        print("No")


Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a==b and b!=c:
    print('Yes')
elif a==c and a!=b:
    print('Yes')
else:print('No')

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if a==b and b!=c:
    print('Yes')
elif a==c and a!=b:
    print('Yes')
elif b==c and b!=a:print('Yes')
else:print('No')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
count=0
if(a==b):
    count+=1
if(b==c):
    count+=1
if(c==a):
    count+=1

if(count==1):
    print('YES')
else:
    print('NO')
    

Failing test case input:
3 4 -3

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
count=0
if(a==b):
    count+=1
if(b==c):
    count+=1
if(c==a):
    count+=1

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

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c = list(map(int,input().split()))
if a==b and a != c:
  print("Yes")
elif a==c and a!=c:
  print("Yes")
elif b==c and a!= b:
  print("Yes")
else:
  print("No")


Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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 a != b:
  print("Yes")
else:
  print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a!=b and b==c:
  print("Yes")
if b!=a and a==c:
  print("Yes")
if c!=a and a==b:
  print("Yes")
else:
  print("No")

Failing test case input:
14 2 2

Expected output:
Yes


Actual output:
Yes
No


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

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
nums = list(map(int, input().split()))

print(nums)

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


Failing test case input:
2 4 -2

Expected output:
No


Actual output:
[2, 4, -2]
No


Fixed submission (verdict: Accepted):
nums = list(map(int, input().split()))

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c= map(int, input().split())

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


Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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'))
Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
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")

Failing test case input:
5 4 -5

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
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")
        
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
list = list(map(int, input().split()))
set = set(list)

if len(set) == 2:
    print("YES")
else:
    print("NO")


Failing test case input:
7 4 6

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
list = list(map(int, input().split()))
set = set(list)

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
if (A==B + B==C + C==A) ==1:
  print("Yes")
else:
  print("No")

Failing test case input:
3 3 -1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C=map(int,input().split())
if (A==B or B==C or C==A) and not(A==B and B==C and C==A):
  print("Yes")
else:
  print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=sorted(list(map(int,input().split())))
if  a[0]==a[1]:
	if a[1] == a[2]:
		print("No")
	else:
		print("Yes")
else:
	print("No")


Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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())


Failing test case input:
0 -2 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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())
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())

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

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = map(int, 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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
arr = list(map(int,input().split()))
if len(set(arr)) == 2:
  print('Yes')

Failing test case input:
7 4 6

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
arr = list(map(int,input().split()))
if len(set(arr)) == 2:
  print('Yes')
else:
  print('No')

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c)) else 'Yes')


if __name__ == '__main__':
    main()


Failing test case input:
18 3 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def main():
    a, b, c = (int(i) for i in input().rstrip().split(' '))
    print('No' if (a == b == c) or ((a != b) and (a != c) and (b != c)) else 'Yes')


if __name__ == '__main__':
    main()

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
 
for line in sys.stdin:
  A, B, C = [int(s) for s in line.split()]
    
if (A-B) * (B-C) * (C-A) == 0 and abs(A-B) + abs(B-C) + abs(C-A) == 2:
  print("Yes")
else:
  print("No")

Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
import sys
 
for line in sys.stdin:
  A, B, C = [int(s) for s in line.split()]
  
if ((A - B) * (B - C) * (C - A) == 0) and (int(A!=B) + int(B!=C) + int(C!=A)):
  print("Yes")
else:
  print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=[int(x) for x in input().split()]
if a==b & b==c:
    print("No")
if a!=b & b!=c & a!=c:
    print("No") 
else :
    print("Yes")

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=[int(x) for x in input().split()]
if a==b and b==c :
    print("No")
elif a!=b and b!=c and a!=c:
    print("No") 
else :
    print("Yes")

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
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")

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a == b ^ b == c ^ a == c:
  print("Yes")
else:
  print("No")

Failing test case input:
14 2 2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if (a == b or b == c or a == c) and (a != b or b != c or a != c):
  print("Yes")
else:
  print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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 b!=a):
    print("yes")
else:
    print("no")

Failing test case input:
14 3 2

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = list(map(int, input().split()))
print('No' if set([A, B, C]) == 2 else 'Yes')

Failing test case input:
18 2 3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = list(map(int, input().split()))
print('Yes' if len(set([A, B, C])) == 2 else 'No')

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c = map(int, input().split())

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


Failing test case input:
14 2 2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
c = list(map(int, input().split()))

if(int(len(set(c)) == 1)):
    print("No")
elif(len(c) != len(set(c))):
    print("YES")
else:
    print("YES")

Failing test case input:
18 4 -1

Expected output:
No


Actual output:
YES


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def solve():
    A, B, C = map(int,input().split())
    if A == B and A == C:
        print('No')
    else:
        print('Yes')


if __name__ == '__main__':
    solve()

Failing test case input:
24 3 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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()
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
number = list(map(int,input().split()))

number_set = set(number)

print('No')  if len(number_set) == 1 else print('Yes')

Failing test case input:
3 4 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
number = list(map(int,input().split()))

number_set = set(number)

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
data=list(map(int,input().split()))
data.sort()
ans="No"
if data[0]==data[1]:
    if data[1]==data[2]:
        ans="No"
    else:
        ans='Yes'
print(ans)

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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)

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
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")

Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

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

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split(' '))
if a == b == c or (a != b and b!=c and a!=c):
    print('Yes')
else:
    print('No')

Failing test case input:
7 3 12

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split(' '))
if a == b == c or (a != b and b!=c and a!=c):
    print('No')
else:
    print('Yes')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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')


Failing test case input:
2 4 -2

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A,B,C = map(int, input().split())


if A==B & B==C & C==A:
    print('No')

elif A!=B & B!=C & C!=A:
    print('No')

else:
    print('Yes')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

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


if __name__ == "__main__":
    main()


Failing test case input:
7 1 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

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


if __name__ == "__main__":
    main()

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
d=a-b
e=a-c
f=b-c
if d*e*f==0 and (d+e+f!=0):
    print("Yes")
else:
    print("No")


Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
d=a-b
e=a-c
f=b-c
if d*e*f==0 and (a!=b or b!=c or c!=a):
    print("Yes")
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
num=input().split()

tmp=sorted(num)

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

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
num=input().split()

tmp=sorted(num)

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


def main():
    question_a()

def question_a():
    abc = list(map(int,input().split()))
    flg = False
    if abc[0] == abc[1] or abc[0] == abc[2]:
        if abc[1] != abc[2]:
            print("Yes")
            flg = True
    if flg == False:
        print("No")

main()


Failing test case input:
14 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):


def main():
    question_a()

def question_a():
    abc = list(map(int,input().split()))
    flg = False
    if abc[0] == abc[1] or abc[0] == abc[2]:
        if abc[1] != abc[2]:
            print("Yes")
            flg = True
    elif abc[1] == abc[2]:
        if abc[0] != abc[1]:
            print("Yes")
            flg = True

    if flg == False:
        print("No")

main()
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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")

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=list(map(int,input().split()))
if(a==b==c):
  print('No')
else:
  print('Yes')
  

Failing test case input:
0 -2 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=list(map(int,input().split()))
if(a==b==c or (a!=b and a!=c and b!=c)):
  print('No')
else:
  print('Yes')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
arr=list(map(int,input().split()))
cnt=0
if(arr[0]==arr[1]):
  cnt+=1
if(arr[0]==arr[2]):
  cnt+=1
if(arr[1]==arr[2]):
  cnt+=1
if(cnt==2):
  print("Yes")
else:
  print("No")


Failing test case input:
18 3 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
arr=list(map(int,input().split()))
cnt=0
if(arr[0]==arr[1] and arr[1]!=arr[2]):
  print("Yes")
elif(arr[1]==arr[2] and arr[1]!=arr[0]):
  print("Yes")
elif(arr[0]==arr[2] and arr[1]!=arr[0]):
  print("Yes")
else:
  print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b and b == c:
    print('No')
else:
    print('Yes')

Failing test case input:
0 4 14

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = 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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
alist = list(map(int,input().split()))

alist.sort()
if alist[0] == alist[1] and alist[1] < alist[2]:
    print('Yes')
else:
    print('No')

Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
alist = list(map(int,input().split()))

alist.sort()
if alist[0] == alist[1] and not alist[1] == alist[2]:
    print('Yes')
elif alist[1] == alist[2] and not alist[0] == alist[1]:
    print('Yes')
else:
    print('No')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y, z = input().split(" ")
a = int(x)
b = int(y)
c = int(z)
poor = False
if a == b == c:
    print('no')
else:
    if a == b:
        poor = not poor

    if a == c:
        poor = not poor

    if b == c:
        poor = not poor

    if poor:
        print('yes')
    else:
        print('no')

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
x, y, z = input().split(" ")
a = int(x)
b = int(y)
c = int(z)
poor = False
if a == b == c:
    print('No')
else:
    if a == b:
        poor = not poor

    if a == c:
        poor = not poor

    if b == c:
        poor = not poor

    if poor:
        print('Yes')
    else:
        print('No')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = list(map(int, input().split()))

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

Failing test case input:
3 3 -1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = list(map(int, input().split()))

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = list(map(int, input().split(' ')))

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

Failing test case input:
0 2 13

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
x = list(map(int, input().split(' ')))
 
if len(set(x)) == 2:
  print('Yes')
else:
  print('No')

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if a==b==c:
  print('No')
else:
  print('Yes')

Failing test case input:
3 4 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    num = list(map(int,input().split()))
    if num.count(num[0]) == 2 or num.count(num[1]) == 2:
        print('YES')
        return

    print('NO')


main()


Failing test case input:
23 4 -1

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
def main():
    num = list(map(int,input().split()))
    if num.count(num[0]) == 2 or num.count(num[1]) == 2:
        print('Yes')
        return

    print('No')


main()

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = 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")


Failing test case input:
3 4 -3

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

if (A == B == C) or (A != B and B != C and A != C):
    print("No")
else:
    print("Yes")
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if (a==b or b==c or c==1)and not a==b==c:
    print("Yes")
else:
    print("No")

Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
num = [map(int, input().split())]

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

Failing test case input:
4 4 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
num = list(map(int, input().split()))

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

def main():
    s = input().split()
    if len(s) == set(s) or len(set(s)) == 1:
        print("No")
    else:
        print("Yes")


main()

Failing test case input:
12 4 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

def main():
    s = input().split()
    if len(s) == len(set(s)) or len(set(s)) == 1:
        print("No")
    else:
        print("Yes")


main()

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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')

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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")
  

Failing test case input:
14 1 1

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a==b!=c or a!=b==c or a!=c==b:
  print('Yes')
else:
  print('No')


Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a==b!=c or a!=b==c or a==c!=b:
  print('Yes')
else:
  print('No')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
line = input()
a, b, c = line.split(" ")
if a == b and b == c:
    print("No")
else:
    print("Yes")

Failing test case input:
23 4 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
line = input()
a, b, c = line.split(" ")
if a == b and b == c:
    print("No")
elif a != b and a != c and b != c:
    print("No")
else:
    print("Yes")
Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x,y,z = map(int,input().split())
if x == y and x != z:
  print('Yes')
elif x == z and x != y:
  print('Yes')
elif y == z and x != y:
  print('Yse')
else:
  print('No')
  

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
Yse


Fixed submission (verdict: Accepted):
x,y,z = map(int,input().split())
if x == y and x != z:
  print('Yes')
elif x == z and x != y:
  print('Yes')
elif y == z and x != y:
  print('Yes')
else:
  print('No')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = list(map(int, input().split()))

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

Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = list(map(int, input().split()))

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def calculate():
    S = input().split(" ")
    A = S.count(S[0])
    if A == 2:
        print("Yes")
        return

    B = S[1]

    if B == 2:
        print("Yes")
        return

    C = S[2]

    if C == 2:
        print("Yes")

    print("No")

calculate()



Failing test case input:
14 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def calculate():
    S = input().split(" ")
    A = S.count(S[0])
    if A == 2:
        print("Yes")
        return

    B = S.count(S[1])

    if B == 2:
        print("Yes")
        return

    C = S.count(S[2])

    if C == 2:
        print("Yes")

    print("No")

calculate()

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b == c or a != b != c:
  print("No")
else:
  print("Yes")

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
 a,b,c = map(int,input().split())
 if a == b and a == c or a != b and a != c:
     print("No")
 else:
     print('Yes')
main()

Failing test case input:
18 3 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def main():
 a,b,c = map(int,input().split())
 if a == b and a == c or a != b and a != c and b != c:
     print('No')
 else:
     print('Yes')
main()

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a == b == c or a != b != c:
  print('No')
else:
  print('Yes')

Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a == b == c == a or a != b != c != a:
  print('No')
else:
  print('Yes')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
ans="Yes"
if a!=b and b!=c:
  ans="No"
if a==b==c:
  ans="No"

Failing test case input:
1 4 17

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
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)

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

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


if __name__ == "__main__":
    main()


Failing test case input:
7 1 10

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):

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


if __name__ == "__main__":
    main()

Problem: p02771
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
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')

Failing test case input:
0 2 13

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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')


Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
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')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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'))


Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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'))

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input().split()
a = list(set(a))

if len(a)==1:
    print("No")
else:
    print("YES")

Failing test case input:
7 3 12

Expected output:
No


Actual output:
YES


Fixed submission (verdict: Accepted):
a = input().split()
a = list(set(a))

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

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())
if A==B and A==C:
  print('No')
elif A!=B and A!=C:
  print('No')
else:
  print('Yes')

Failing test case input:
14 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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')