远端评测题 1000ms 256MiB

Codeforces Checking

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

Description

Given a lowercase Latin character (letter), check if it appears in the string $\texttt{codeforces}$.

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

The only line of each test case contains a character $c$ — a single lowercase Latin character (letter).

For each test case, output "YES" (without quotes) if $c$ satisfies the condition, and "NO" (without quotes) otherwise.

You can output the answer in any case (for example, the strings "yEs", "yes", "Yes" and "YES" will be recognized as a positive answer).

Input

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

The only line of each test case contains a character $c$ — a single lowercase Latin character (letter).

Output

For each test case, output "YES" (without quotes) if $c$ satisfies the condition, and "NO" (without quotes) otherwise.

You can output the answer in any case (for example, the strings "yEs", "yes", "Yes" and "YES" will be recognized as a positive answer).

10
a
b
c
d
e
f
g
h
i
j
NO
NO
YES
YES
YES
YES
NO
NO
NO
NO

4.2 单人训练赛 时段1

未参加
状态
已结束
规则
ACM/ICPC
题目
13
开始于
2023-4-2 13:00
结束于
2023-4-2 18:00
持续时间
5 小时
主持人
参赛人数
12