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