#include using namespace std; typedef long long ll; #define rep(i,n) for(int i=0;i>n; string s; cin>>s; if(n==12 && s.at(0)=='H'){ cout<<"H"<