#abc295a. A - Probably English

A - Probably English

Score : 100100 points

问题描述

给定包含小写英文字母的 NN 个字符串 W1,W2,,WNW_1, W_2, \dots, W_N

如果其中任意一个或多个字符串等于 andnotthattheyou,则输出 Yes;否则,输出 No

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given NN strings W1,W2,,WNW_1,W_2,\dots,W_N consisting of lowercase English letters. If one or more of these strings equal and, not, that, the, or you, then print Yes; otherwise, print No.

Constraints

  • NN is an integer between 11 and 100100, inclusive.
  • 1Wi501 \le |W_i| \le 50 (Wi|W_i| is the length of WiW_i.)
  • WiW_i consists of lowercase English letters.

Input

The input is given from Standard Input in the following format:

NN

W1W_1 W2W_2 \dots WNW_N

Output

Print the answer.

Sample Input 1

10
in that case you should print yes and not no

Sample Output 1

Yes

We have, for instance, W4=W_4= you, so you should print Yes.

Sample Input 2

10
in diesem fall sollten sie no und nicht yes ausgeben

Sample Output 2

No

None of the strings WiW_i equals any of and, not, that, the, and you.

update @ 2024/3/10 12:15:30