qSort::[Char] -> [Char]
qSort [] = []
qSort (x:xs)
    | xs == [] = [x]
    | otherwise = qSort [y|y<-xs, y < x] ++ [x] ++ qSort [z|z<-xs, z >= x]
main = do
    a <- getLine
    let b = qSort a
    if b == "abc" then putStrLn "Yes" else putStrLn "No"