#include using namespace std; using ll = long long; template using Pa = pair; template using vec = vector; template using vvec = vector>; void solve(){ int N; cin >> N; string S; cin >> S; if(N<=2){ cout << "X\n"; return ; } int l = 0; bool ok = false; while(l=3) ok = true; if(r-l==1){ if(2<=l && r=2 && S[l-1]=='o' && S[l-2]=='o') ok = true; if(r+1=1 && r> T; while(T--){ solve(); } }