a, b, c = map(int, input().split())
if len(set([a, b, c])) == 2:
    print('Yes')
else:
    print('No') a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c if len(set([a, b, c])) == 2:
    print('Yes')
else:
    print('No') len(set([a, b, c])) == 2 len(set([a, b, c])) len set([a, b, c]) set [a, b, c] a b c 2 print('Yes') print 'Yes' print('No') print 'No' c = map(int, input().split()) map(int, input().split()) c a, b, c = map(int, input().split()) map(int, input().split()) a b, c = map(int, input().split()) map(int, input().split()) b
a, b, c = map(int, input().split())
if len(set([a, b, c])) == 2:
    print('Yes')
else:
    print('No')
