import numpy

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

a = A

b = B

c = C

if (a==b and a==c):

    print("No")

elif (a==b or b==c or a==c):

    print("Yes")

elif (a!=b or b!=c):

    print("No")
a, b, c = list (map (int, input ().split ()))

k = a ^ b ^ c

print(("Yes" if ((k == a) + (k == b) + (k == c) == 1) else "No"))
import numpy

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

a, b, c = list(map(int, input().split()))
k = a ^ b ^ c
print(("Yes" if ((k == a) + (k == b) + (k == c) == 1) else "No"))

-import numpy - -A, B, C = input().split() -a = A -b = B -c = C -if a == b and a == c: -    print("No") -elif a == b or b == c or a == c: -    print("Yes") -elif a != b or b != c: -    print("No") +a, b, c = list(map(int, input().split())) +k = a ^ b ^ c +print(("Yes" if ((k == a) + (k == b) + (k == c) == 1) else "No"))