import Control.Monad
import Data.Maybe
import qualified Data.ByteString.Char8 as BS
import qualified Data.List as L

readInt = fst . fromJust . BS.readInt
readIntList = map readInt . BS.words
getInt = fst . fromJust . BS.readInt <$> BS.getLine
getIntList = readIntList <$> BS.getLine

main = do
  s <- getIntList
  putStrLn $ solve s

solve :: [Int] -> String
solve s = do
  let n = length $ L.nub $ s
      in if n /= 1 then "Yes" else "No"