import itertools
import functools
import math
from collections import Counter
from itertools import combinations
import re

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

if A==B and B==C:
    print('No')

elif A != B and B != C and C != A:
    print('No')
else:
    print('Yes') import itertools itertools import functools functools import math math from collections import Counter from itertools import combinations import re re 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 B==C:
    print('No')

elif A != B and B != C and C != A:
    print('No')
else:
    print('Yes') A==B and B==C A==B A B B==C B C print('No') print 'No' elif A != B and B != C and C != A:
    print('No') A != B and B != C and C != A A != B and B != C A != B A B B != C B C C != A C A print('No') print 'No' print('Yes') print 'Yes' B,C = map(int,input().split()) map(int,input().split()) B A,B,C = map(int,input().split()) map(int,input().split()) A C = map(int,input().split()) map(int,input().split()) C
import itertools
import functools
import math
from collections import Counter
from itertools import combinations
import re

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

if A==B and B==C:
    print('No')

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