B. Is it stated?
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Input

The first line contains an integer $$$t$$$ ($$$1 \leq t \leq 100$$$) — the number of testcases.

The following $$$t$$$ lines each contain a string of length at most $$$100$$$ consisting of lowercase English letters.

Output

For each test case, output "YES" or "NO", denoting the answer.

Example
Input
10
is
it
stated
submit
ac
accepted
wa
wronganswer
tle
timelimitexceeded
Output
NO
YES
NO
YES
NO
NO
NO
NO
NO
YES