def solve():

    N, M, L = list(map(int, input().split()))

    ans = 'No'

    

    if N == M and M == L:

        return ans

    

    if N == M or M == L or L == N:

        ans = 'Yes'

        

    return ans



print((solve()))
def solve():

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

    a, b, c = A

    if a == b == c: return 'No'

    return 'Yes' if (a == b or b == c or c == a) else 'No'



print((solve()))
def solve():
    N, M, L = list(map(int, input().split()))
    ans = "No"
    if N == M and M == L:
        return ans
    if N == M or M == L or L == N:
        ans = "Yes"
    return ans


print((solve()))

def solve():
    A = list(map(int, input().split()))
    a, b, c = A
    if a == b == c:
        return "No"
    return "Yes" if (a == b or b == c or c == a) else "No"


print((solve()))

-    N, M, L = list(map(int, input().split())) -    ans = "No" -    if N == M and M == L: -        return ans -    if N == M or M == L or L == N: -        ans = "Yes" -    return ans +    A = list(map(int, input().split())) +    a, b, c = A +    if a == b == c: +        return "No" +    return "Yes" if (a == b or b == c or c == a) else "No"