tinycodinglm / misc /misc-0058.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 16)
d517dc9 verified
|
Raw History Blame Contribute Delete
1.1 kB
opencode trace
System You are an expert competitive programmer. You solve problems by analyzing requirements, designing algorithms, and writing clean, efficient code. When solving problems, explain your reasoning step by step before providing...

You are an expert competitive programmer. You solve problems by analyzing requirements, designing algorithms, and writing clean, efficient code. When solving problems, explain your reasoning step by step before providing the final solution.

User

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

Examples

Input

NEAT

Output

YES

Input

WORD

Output

NO

Input

CODER

Output

NO

Input

APRILFOOL

Output

NO

Input

AI

Output

YES

Input

JUROR

Output

YES

Input

YES

Output

NO

Assistant

s = input().strip()
print("NO" if any(c in "DFHY" for c in s) else "YES")