a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
ls=[a,b,c]
ls.sort()
if ls[0]==ls[1]:
  if ls[1]==ls[2]:
    print("No")
  else:
    print("Yes")
else:
  if ls[1]==ls[2]:
    print("Yes")
  else:
    print("No") a,b,c=input().split() a input().split() ().split () input split b c a=int(a) a int(a) int a b=int(b) b int(b) int b c=int(c) c int(c) int c ls=[a,b,c] ls [a,b,c] a b c ls.sort() ls.sort ls sort if ls[0]==ls[1]:
  if ls[1]==ls[2]:
    print("No")
  else:
    print("Yes")
else:
  if ls[1]==ls[2]:
    print("Yes")
  else:
    print("No") ls[0]==ls[1] ls[0] ls 0 ls[1] ls 1 if ls[1]==ls[2]:
    print("No")
  else:
    print("Yes") ls[1]==ls[2] ls[1] ls 1 ls[2] ls 2 print("No") print "No" print("Yes") print "Yes" if ls[1]==ls[2]:
    print("Yes")
  else:
    print("No") ls[1]==ls[2] ls[1] ls 1 ls[2] ls 2 print("Yes") print "Yes" print("No") print "No" c=input().split() input().split() c b,c=input().split() input().split() b ls=[a,b,c] [a,b,c] ls b=int(b) int(b) b a,b,c=input().split() input().split() a c=int(c) int(c) c a=int(a) int(a) a
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
ls=[a,b,c]
ls.sort()
if ls[0]==ls[1]:
  if ls[1]==ls[2]:
    print("No")
  else:
    print("Yes")
else:
  if ls[1]==ls[2]:
    print("Yes")
  else:
    print("No")