#P1331F. Elementary!

    暂无评定 ID: 2883 远端评测题 1000ms 256MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>*special problembrute forcedpstrings

Elementary!

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".

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