a = [int(i) for i in input().split()]
if (a[0] == a[1] and a[0] != a[2]) or (a[0] == a[2] and a[0] != a[1]) or (a[2] == a[1] and a[2] != a[0]):
    print('Yes')
else:
    print('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 = [int(i) for i in input().split()] a [int(i) for i in input().split()] if (a[0] == a[1] and a[0] != a[2]) or (a[0] == a[2] and a[0] != a[1]) or (a[2] == a[1] and a[2] != a[0]):
    print('Yes')
else:
    print('No') (a[0] == a[1] and a[0] != a[2]) or (a[0] == a[2] and a[0] != a[1]) or (a[2] == a[1] and a[2] != a[0]) (a[0] == a[1] and a[0] != a[2]) or (a[0] == a[2] and a[0] != a[1]) a[0] == a[1] and a[0] != a[2] a[0] == a[1] a[0] a 0 a[1] a 1 a[0] != a[2] a[0] a 0 a[2] a 2 a[0] == a[2] and a[0] != a[1] a[0] == a[2] a[0] a 0 a[2] a 2 a[0] != a[1] a[0] a 0 a[1] a 1 a[2] == a[1] and a[2] != a[0] a[2] == a[1] a[2] a 2 a[1] a 1 a[2] != a[0] a[2] a 2 a[0] a 0 print('Yes') print 'Yes' print('No') print 'No' a = [int(i) for i in input().split()] [int(i) for i in input().split()] a
a = [int(i) for i in input().split()]
if (a[0] == a[1] and a[0] != a[2]) or (a[0] == a[2] and a[0] != a[1]) or (a[2] == a[1] and a[2] != a[0]):
    print('Yes')
else:
    print('No')