#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++) {
char symbol = (j == i) || (j == size - i - 1) ? 'x' : ' ';
cout << symbol;
}
cout << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgljb25zdCBpbnQgc2l6ZSA9IDk7CgkKCWZvciAoaW50IGkgPSAwOyBpIDwgc2l6ZTsgaSsrKSB7CgkJZm9yIChpbnQgaiA9IDA7IGogPCBzaXplOyBqKyspIHsKCQkJY2hhciBzeW1ib2wgPSAoaiA9PSBpKSB8fCAoaiA9PSBzaXplIC0gaSAtIDEpID8gJ3gnIDogJyAnOwoJCQljb3V0IDw8IHN5bWJvbDsKCQl9CgkJY291dCA8PCBlbmRsOwoJfQoJCglyZXR1cm4gMDsKfQ==