let poor a b c =
  if a = b && a = c then "No"
  else if a = b && a <> c then "Yes"
  else if a = c && a <> b then "Yes"
  else if b = c && b <> a then "Yes"
  else "No"

let a, b, c = Scanf.sscanf (read_line ()) "%d %d %d" (fun a b c -> (a, b, c))
let () = Printf.printf "%s\n" (poor a b c)