import Control.Applicative

main = do
    n <- getLine
    putStrLn $ if solve n then "Yes" else "No"

solve n = if length n /= 3
          then False
          else elem 'a' n && elem 'b' n && elem 'c' n
