#include #include #include #include #include using namespace std; typedef long long ll; typedef pair P; const int INF = 1e9+1; int main() { int t; cin>>t; for(int i=0;i>n>>s; if (n<3) {cout<<"X"<