
#include<bits/stdc++.h>
using namespace std;

int main() {
    int n;
    cin >> n;
    for (int i = 0; i < n; i++) {
        int spaces = i;
        if (i > n / 2) spaces = n - 1 - i;
        for (int j = 0; j < spaces; j++) cout << ' ';
        for (int j = 0; j < n - 2 * spaces; j++) cout << 'x';
        cout << '\n';
    }
}