310310: CF1812I. Mountain Climber

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

I. Mountain Climbertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInput

The first line of input contains $t$ ($1 \leq t \leq 25$) — the number of test cases.

The only line of each test case contains a single string $s$ ($1 \leq |s| \leq 100$) consisting only of lowercase English letters.

Output

For each test case, print YES or NO.

ExampleInput
23
big
flashing
clump
i
underpass
passunder
tranquilizing
pole
andrej
dumpling
bocchiryonijikakitasingingsongs
alperen
toxicpie
ari
bucketpotato
flamestorm
scarlets
maisakurajima
misakamikoto
ninfia
sylveon
pikachu
mewheniseearulhiiarul
Output
YES
NO
YES
YES
YES
NO
YES
NO
YES
YES
YES
YES
YES
YES
NO
NO
NO
YES
NO
NO
NO
NO
NO

Input

题意翻译

### 输入格式 第一行输入$t (1 \le t \le 25) -$ 测试数据组数。 接下来 t 行,各为一个字符串 $s(1 \le |s| \le 100)$,只包含小写英文字母。 ### 输出格式 对于每一行数据,输出 YES 或 NO。

加入题单

算法标签: