import sys
input = sys.stdin.readline

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') import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline 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' input = sys.stdin.readline sys.stdin.readline input A = sorted(list(map(int,input().split()))) sorted(list(map(int,input().split()))) A
import sys
input = sys.stdin.readline

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')
