l = sorted([int(v) for v in input().rstrip().split()])
r = 'No'
if (l[0] == l[1] and l[0] != l[2]) or (l[1] == l[2] and l[0] != l[1]):
	r = 'Yes'

print(r) int(v) for v in input().rstrip().split() for v in input().rstrip().split() v input().rstrip().split() ().rstrip().split ().rstrip() ().rstrip () input rstrip split for v in input().rstrip().split() int(v) int v l = sorted([int(v) for v in input().rstrip().split()]) l sorted([int(v) for v in input().rstrip().split()]) sorted [int(v) for v in input().rstrip().split()] r = 'No' r 'No' if (l[0] == l[1] and l[0] != l[2]) or (l[1] == l[2] and l[0] != l[1]):
	r = 'Yes' (l[0] == l[1] and l[0] != l[2]) or (l[1] == l[2] and l[0] != l[1]) l[0] == l[1] and l[0] != l[2] l[0] == l[1] l[0] l 0 l[1] l 1 l[0] != l[2] l[0] l 0 l[2] l 2 l[1] == l[2] and l[0] != l[1] l[1] == l[2] l[1] l 1 l[2] l 2 l[0] != l[1] l[0] l 0 l[1] l 1 r = 'Yes' r 'Yes' print(r) print r r = 'Yes' 'Yes' r l = sorted([int(v) for v in input().rstrip().split()]) sorted([int(v) for v in input().rstrip().split()]) l r = 'No' 'No' r
l = sorted([int(v) for v in input().rstrip().split()])
r = 'No'
if (l[0] == l[1] and l[0] != l[2]) or (l[1] == l[2] and l[0] != l[1]):
	r = 'Yes'

print(r)
