import Control.Monad
import Data.List
import qualified Data.Set as S

main=do
    st <- foldl (flip S.delete) (S.fromList ['a'..'z']) <$> getLine
    putStrLn $ if S.null st then "None" else [S.findMin st]
