let () =
	let a, b, c = Scanf.scanf "%d %d %d\n" (fun a b c -> a, b, c) in
    Printf.printf 
    	(if a = b && a <> c then "Yes"
         else if a = c && a <> b then "Yes"
         else if b = c && a <> b then "Yes"
         else "No")