#P1331F. Elementary!

    ID: 1672 Type: RemoteJudge 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>*special problembrute forcedpstrings

Elementary!

No submission language available for this problem.

Description

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 "YES" or "NO".

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

Output "YES" or "NO".

Samples

GENIUS
YES
DOCTOR
NO
IRENE
YES
MARY
NO
SMARTPHONE
NO
REVOLVER
YES
HOLMES
NO
WATSON
YES