a,b,c = map(int, input().split())

t = [a,b,c]
t.sort()

if (t[0] == t[1] and t[1] != t[2]) or (t[0] != t[1] and t[1] == t[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 t = [a,b,c] t [a,b,c] a b c t.sort() t.sort t sort if (t[0] == t[1] and t[1] != t[2]) or (t[0] != t[1] and t[1] == t[2]):
  print("Yes")
else:
  print("No") (t[0] == t[1] and t[1] != t[2]) or (t[0] != t[1] and t[1] == t[2]) t[0] == t[1] and t[1] != t[2] t[0] == t[1] t[0] t 0 t[1] t 1 t[1] != t[2] t[1] t 1 t[2] t 2 t[0] != t[1] and t[1] == t[2] t[0] != t[1] t[0] t 0 t[1] t 1 t[1] == t[2] t[1] t 1 t[2] t 2 print("Yes") print "Yes" print("No") print "No" t = [a,b,c] [a,b,c] t b,c = map(int, input().split()) map(int, input().split()) b c = map(int, input().split()) map(int, input().split()) c a,b,c = map(int, input().split()) map(int, input().split()) a
a,b,c = map(int, input().split())

t = [a,b,c]
t.sort()

if (t[0] == t[1] and t[1] != t[2]) or (t[0] != t[1] and t[1] == t[2]):
  print("Yes")
else:
  print("No")