#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); vector B = { "OXX", "XOO", "XOX" }; int h, w; cin >> h >> w; for(int y = 0; y < h; y++){ for(int x = 0; x < w; x++){ cout << B[y % 3][x % 3]; } cout << "\n"; } }