#include using namespace std; typedef long long ll; #define F first #define S second #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() const int INF = 1e9; const ll LLINF = 4e18; const double EPS = 1e-9; void solve() { ll r,k; cin >> r >> k; string s; cin >> s; s = "." + s + "."; for (ll i=0; i> val) & 1 ? 'X' : '.'; } s = std::move(s1); for (ll i=1; i