#include <iostream>
using namespace std;
int main()
{
const int size = 9;
for (int i = 0; i < size; i++)
for (int j = 0; j < size; j++)
cout << ((j == i) || (j == size - i - 1) ? 'x' : ' ') << (j == size - 1 ? '\n' : '\0');
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7Cgljb25zdCBpbnQgc2l6ZSA9IDk7Cglmb3IgKGludCBpID0gMDsgaSA8IHNpemU7IGkrKykKCQlmb3IgKGludCBqID0gMDsgaiA8IHNpemU7IGorKykKCQkJY291dCA8PCAoKGogPT0gaSkgfHwgKGogPT0gc2l6ZSAtIGkgLSAxKSA/ICd4JyA6ICcgJykgPDwgKGogPT0gc2l6ZSAtIDEgPyAnXG4nIDogJ1wwJyk7CglyZXR1cm4gMDsKfQ==