Nice Words


Your task is to figure out which words are nice with Parsa's defenition of nice!

Input

The input consists of a single string of uppercase letters A-Z. The length of the string is between 1 and 10 characters, inclusive.

Output

Print YES if the word is nice. Otherwise print NO.

Constraints

1S101 \le |S| \le 10

Example 1

Input
Input 1
NICE
Input 2
NO

Example 2

Input
Input 3
WORD
Input 4
NO

Example 3

Input
Input 5
TAXI
Input 6
YES

Example 4

Input
Input 7
WAVE
Input 8
YES

Example 5

Input
Input 9
YES
Input 10
NO

Example 6

Input
Input 11
NO
Input 12
NO

Example 7

Input
Input 13
COCO
Input 14
YES

Example 8

Input
Input 15
CUB
Input 16
YES

Comments0


No comments yet

Be the first to comment.

New comment


Log in to join the discussion.