def solve():
    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 A != B:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    solve() def solve():
    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 A != B:
        print('Yes')
    else:
        print('No') solve A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C 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') A == B and A != C A == B A B A != C A C print('Yes') print 'Yes' elif A == C and A != B:
        print('Yes')
     A == C and A != B A == C A C A != B A B print('Yes') print 'Yes' elif B == C and A != B:
        print('Yes')
     B == C and A != B B == C B C A != B A B print('Yes') print 'Yes' print('No') print 'No' if __name__ == '__main__':
    solve() __name__ == '__main__' __name__ '__main__' solve() solve def solve():
    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 A != B:
        print('Yes')
    else:
        print('No') def solve():
    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 A != B:
        print('Yes')
    else:
        print('No') solve
def solve():
    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 A != B:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    solve()
