a = list(map(int, input().split()))
a = sorted(a)

if a[0] != a[2]:
  if a[0]==a[1] or a[1]==a[2]:
    print("Yes")
  else:
    print("No")
else:
  print("No") a = list(map(int, input().split())) a list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split a = sorted(a) a sorted(a) sorted a if a[0] != a[2]:
  if a[0]==a[1] or a[1]==a[2]:
    print("Yes")
  else:
    print("No")
else:
  print("No") a[0] != a[2] a[0] a 0 a[2] a 2 if a[0]==a[1] or a[1]==a[2]:
    print("Yes")
  else:
    print("No") a[0]==a[1] or a[1]==a[2] a[0]==a[1] a[0] a 0 a[1] a 1 a[1]==a[2] a[1] a 1 a[2] a 2 print("Yes") print "Yes" print("No") print "No" print("No") print "No" a = list(map(int, input().split())) list(map(int, input().split())) a a = sorted(a) sorted(a) a
a = list(map(int, input().split()))
a = sorted(a)

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