Preparando MOJI

Elementary!

1000ms 262144K

Description:

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

Sample Input:

GENIUS

Sample Output:

YES

Sample Input:

DOCTOR

Sample Output:

NO

Sample Input:

IRENE

Sample Output:

YES

Sample Input:

MARY

Sample Output:

NO

Sample Input:

SMARTPHONE

Sample Output:

NO

Sample Input:

REVOLVER

Sample Output:

YES

Sample Input:

HOLMES

Sample Output:

NO

Sample Input:

WATSON

Sample Output:

YES

Informação

Codeforces

Provedor Codeforces

Código CF1331F

Tags

*specialbrute forcedpstrings

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 10:00:42

Relacionados

Nada ainda