{-# LANGUAGE OverloadedLists #-}

import qualified Data.Set as S

main :: IO ()
main = do
    s <- S.fromList <$> getLine
    let l = ['a'..'z'] S.\\ s
    putStrLn $ if null l
                then "None"
                else [S.findMin l]