中文。
Let’s explore our intuition.
There is no th in Pinyin, but it is quite common in English, such as in th and these.
You can make a direct judgment.
Code:
The code uses the getline and find functions and is extremely short.
#include<bits/stdc++.h>
using namespace std;
int t,n;
string s;
int main(){
cin>>t;
while(t--){
cin>>n;
getline(cin,s);
if(int(s.find("th"))!=-1) cout<<"English\n";
else cout<<"Pinyin\n";
}
return 0;
}