{-# LANGUAGE OverloadedStrings #-}
import qualified Data.ByteString.Char8 as B

main :: IO ()
main = do
    s <- B.getLine
    putStrLn $ if ("abc" :: B.ByteString) == (B.sort s)
        then "Yes"
        else "No"