def main():
    A, B, C = map(int, input().split())

    if A == B and A != C:
        print("Yes")
    elif B == C and B != A:
        print("Yes")
    elif C == A and C != B:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main() def main():
    A, B, C = map(int, input().split())

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

    if A == B and A != C:
        print("Yes")
    elif B == C and B != A:
        print("Yes")
    elif C == A and C != B:
        print("Yes")
    else:
        print("No") def main():
    A, B, C = map(int, input().split())

    if A == B and A != C:
        print("Yes")
    elif B == C and B != A:
        print("Yes")
    elif C == A and C != B:
        print("Yes")
    else:
        print("No") main
def main():
    A, B, C = map(int, input().split())

    if A == B and A != C:
        print("Yes")
    elif B == C and B != A:
        print("Yes")
    elif C == A and C != B:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()
