#include using namespace std; int main(){ int N; cin >> N; string S; cin >> S; if (S[0] == 'H'){ cout << -1 << endl; } assert(false); }