n = input().split()

for i in range (3) :

    n[i] = int(n[i])



a = sorted (n)



fl = False



if (a[0] == a[1] and a[1] != a[2]) :

    fl = True

if (a[0] != a[1] and a[1] == a[2]) :

    fl = True

print(('Yes' if fl else 'No'))
A,B,C=input().split()

a,b,c=int(A),int(B),int(C)



if a==b and b!=c:

    print("Yes")

elif a==c and a!=b:

    print("Yes")

elif b==c and a!=b:

    print("Yes")

else:

    print("No")
n = input().split()
for i in range(3):
    n[i] = int(n[i])
a = sorted(n)
fl = False
if a[0] == a[1] and a[1] != a[2]:
    fl = True
if a[0] != a[1] and a[1] == a[2]:
    fl = True
print(("Yes" if fl else "No"))

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

-n = input().split() -for i in range(3): -    n[i] = int(n[i]) -a = sorted(n) -fl = False -if a[0] == a[1] and a[1] != a[2]: -    fl = True -if a[0] != a[1] and a[1] == a[2]: -    fl = True -print(("Yes" if fl else "No")) +A, B, C = input().split() +a, b, c = int(A), int(B), int(C) +if a == b and b != c: +    print("Yes") +elif a == c and a != b: +    print("Yes") +elif b == c and a != b: +    print("Yes") +else: +    print("No")