#include<stdio.h>
void output(int a) {
for (int i = a; i > 0; i--)
printf("* ");
printf("\n");
}
int main() {
int n;
while (scanf("%d", &n) != EOF) {
int m = 2 * n + 1;
int a = n + 1, b = 2;
for (int i = 0; i < m; i++ ) {
if (i <= n ) output(a--);
else output(b++);
}
}
return 0;
}
void output(int a) {
for (int i = a; i > 0; i--)
printf("* ");
printf("\n");
}
int main() {
int n;
while (scanf("%d", &n) != EOF) {
int m = 2 * n + 1;
int a = n + 1, b = 2;
for (int i = 0; i < m; i++ ) {
if (i <= n ) output(a--);
else output(b++);
}
}
return 0;
}