#include <iostream>
using namespace std;
int main() {
int n,l,x,k;
cin >> n;
for (l = 1; l < 2 * n; l++) {
if (l <= n) {
k = n - l;
x = 2*l - 1;
}
else {
k = l - n;
x = 4 * n - 2*l - 1;
}
while (k > 0) {
cout << " ";
k--;
}
do {
cout << "*";
x--;
} while (x > 0);
cout << endl;
}
return 0;
}