#P1505C. Fibonacci Words

    ID: 2346 Type: RemoteJudge 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: 4 Uploaded By: Tags>*special problemimplementation*1400

Fibonacci Words

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

HELP
AID
MARY
ANNA
MUG
CUP
SUM
PRODUCT
YES
NO
NO
YES
YES
NO
YES
NO