def main():

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

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

        print("Yes")

    else:

        print("No")



if __name__ == '__main__':

    main()
n = list(map(int,input().split()))

n.sort()

a,b,c = n

flag = False

if a == b and c != a:

    flag = True

elif a == c and b != c:

    flag = True

elif b == c and a != b:

    flag = True

print(("Yes" if flag else "No"))
def main():
    a, b, c = list(map(int, input().split()))
    if (a == b and c != a) or (a == c and b != c) or (b == c and a != b):
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

n = list(map(int, input().split()))
n.sort()
a, b, c = n
flag = False
if a == b and c != a:
    flag = True
elif a == c and b != c:
    flag = True
elif b == c and a != b:
    flag = True
print(("Yes" if flag else "No"))

-def main(): -    a, b, c = list(map(int, input().split())) -    if (a == b and c != a) or (a == c and b != c) or (b == c and a != b): -        print("Yes") -    else: -        print("No") - - -if __name__ == "__main__": -    main() +n = list(map(int, input().split())) +n.sort() +a, b, c = n +flag = False +if a == b and c != a: +    flag = True +elif a == c and b != c: +    flag = True +elif b == c and a != b: +    flag = True +print(("Yes" if flag else "No"))