a, b, c = input().split()
if len(set([a, b, c])) == 2:
    print('Yes')
else:
    print('No') a, b, c = input().split() a 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' b, c = input().split() input().split() b c = input().split() input().split() c a, b, c = input().split() input().split() a
a, b, c = input().split()
if len(set([a, b, c])) == 2:
    print('Yes')
else:
    print('No')
