open Printf
open Scanf

let solve a b c =
  let n = List.length @@ List.filter (fun x -> x = 0) [a-b; b-c; c-a] in
  if n = 1 then "Yes" else "No"
            
let () =
  scanf "%d %d %d " solve |> printf "%s\n"
