import Data.List main = getLine >>= (\x -> putStrLn $ if length x == length (nub x) then "YES" else "NO")