#155-A

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

D =[A,B,C]

D.sort()

#print(D)

if D.count(A)== 2:
    print("Yes")

elif D.count(A)== 1:
    if B == C:
        print("Yes")

    else:
        print("No")

elif D.count(A)== 3:
    print("No") A,B,C = map(int,input().split()) A map(int,input().split()) map int input().split() ().split () input split B C D =[A,B,C] D [A,B,C] A B C D.sort() D.sort D sort if D.count(A)== 2:
    print("Yes")

elif D.count(A)== 1:
    if B == C:
        print("Yes")

    else:
        print("No")

elif D.count(A)== 3:
    print("No") D.count(A)== 2 D.count(A) D.count D count A 2 print("Yes") print "Yes" elif D.count(A)== 1:
    if B == C:
        print("Yes")

    else:
        print("No") D.count(A)== 1 D.count(A) D.count D count A 1 if B == C:
        print("Yes")

    else:
        print("No") B == C B C print("Yes") print "Yes" print("No") print "No" elif D.count(A)== 3:
    print("No") D.count(A)== 3 D.count(A) D.count D count A 3 print("No") print "No" C = map(int,input().split()) map(int,input().split()) C D =[A,B,C] [A,B,C] D A,B,C = map(int,input().split()) map(int,input().split()) A B,C = map(int,input().split()) map(int,input().split()) B
#155-A

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

D =[A,B,C]

D.sort()

#print(D)

if D.count(A)== 2:
    print("Yes")

elif D.count(A)== 1:
    if B == C:
        print("Yes")

    else:
        print("No")

elif D.count(A)== 3:
    print("No")
