import Control.Monad
import Data.Bool

kawaiso a b c
  | a == b = b /= c
  | a == c = c /= b
  | b == c = a /= b
  | otherwise = False

main = do
  (a:b:c:_) <- (map read . words) <$> getLine :: IO [Int]
  putStrLn  $ bool "No" "Yes" $ kawaiso a b c
