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

if (A[0] == A[1] and A[1] != A[2]) or (A[0] != A[1] and A[1] == A[2]):
    print("Yes")
else:
    print("No") A = sorted(list(map(int,input().split()))) A sorted(list(map(int,input().split()))) sorted list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split if (A[0] == A[1] and A[1] != A[2]) or (A[0] != A[1] and A[1] == A[2]):
    print("Yes")
else:
    print("No") (A[0] == A[1] and A[1] != A[2]) or (A[0] != A[1] and A[1] == A[2]) A[0] == A[1] and A[1] != A[2] A[0] == A[1] A[0] A 0 A[1] A 1 A[1] != A[2] A[1] A 1 A[2] A 2 A[0] != A[1] and A[1] == A[2] A[0] != A[1] A[0] A 0 A[1] A 1 A[1] == A[2] A[1] A 1 A[2] A 2 print("Yes") print "Yes" print("No") print "No" A = sorted(list(map(int,input().split()))) sorted(list(map(int,input().split()))) A
A = sorted(list(map(int,input().split())))

if (A[0] == A[1] and A[1] != A[2]) or (A[0] != A[1] and A[1] == A[2]):
    print("Yes")
else:
    print("No")