module Main where

import Control.Applicative
import Control.Monad
import Data.List (sort)

main :: IO ()
main = do
    ss <- getLine
    if sort ss == "abc"
        then putStrLn "Yes"
        else putStrLn "No"