#include <bits/stdc++.h>
using namespace std;
signed main() {
int T;
cin >> T;
while (T--) {
int n, flag = 0;
cin >> n;
for (int i = 1; i <= n; i++) {
string s;
cin >> s;
for (auto &j : s) {
j = tolower(j);
}
if (s == "is" || s == "am" || s == "are" || s == "I" || s == "right" || s == "me" || s == "they" || s == "fell" || s == "apple" || s == "string" || s == "how" || s == "left" || s == "can" || s == "be" || s == "was" || s == "were" || s == "public" || s == "your" || s == "long" || s == "break" || s == "flag" || s == "fox" || s == "fix" || s == "the" || s.size() > 6 || s == "sure" || s == "the" || s == "play" || s == "lazy" || s == "best" || s == "friend" || s == "break" || s == "tea" || s == "teacher" || s == "chess" || s == "go" || s == "went" || s == "fly" || s == "all" || s == "kill" || s == "butter" || s == "bingo" || s == "int" || s == "plain" || s == "text" || s == "note" || s == "not" || s == "true" || s == "false" || s == "no" || s == "why" || s == "what" || s == "where" || s == "who" || s == "whom" || s == "chinese" || s == "english" || s == "russia" || s == "india" || s == "how" || s == "here" || s == "there" || s == "medium" || s == "best" || s == "teacher" || s == "purple" || s == "color" || s == "colour" || s == "we" || s == "can" || s == "also" || s == "value" || s == "and" || s == "or" || s == "orange" || s == "row" || s == "return" || s == "star" || s == "start" || s == "other" || s == "emample" || s == "exam" || s == "case" || s == "for" || s == "do" || s == "while" || s == "code" || s == "have" || s == "of" || s == "but" || s == "top" || s == "also" || s == "so" || s == "sos" || s == "it" || s == "total" || s == "to" || s == "that" || s == "those" || s == "these" || s == "monkey" || s == "in" || s == "out" || s == "tab" || s == "line" || s == "lion") {
flag = 1;
}
}
if (flag) {
cout << "English\n";
} else {
cout << "Pinyin\n";
}
}
return 0;
}
这能过就离谱