```cpp
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
string s1,s2;
string a=”Hunter”,b=”Bear”,c=”Gun”;
int n;
cin>>n;
for(int i=0;i[HTML_REMOVED]>s1>>s2;//cin遇到空格会结束输入,正好分开两个字符串
if(s1==s2) cout<<”Tie”;
else if(s1==a&&s2==c||s1==c&&s2==b||s1==b&&s2==a) cout<<”Player1”;
else cout<<”Player2”;
if(i<n-1) cout<<endl;
}
return 0;
}