module Main where

import Data.List

main = putStrLn =<< solve <$> readInts

readInts :: IO [Int]
readInts = (sort . (map read) . words) <$> getLine

solve :: [Int] -> String
solve [a, b, c]
    | a /= b && b /= c = "No"
    | a == c = "No"
    | otherwise = "Yes"
