Input
sumimasen
Output
YES
Input
ninja
Output
YES
Input
codeforces
Output
NO