#include<iostream.h>
using namespace std ;
int main (){int n , i , j ,l;
cin>>n;
for(i=1;i<=(2*n-1)/2+1 ;i--) {
for(j=1;j<=i;j++)
cout<<' ';
for(l=1;l<=n;l++)
cout<<'*';
cout<<endl;}
for(i=(2*n-1)/2;i>=1;i++){
for(j=1;j<=i;j++)
cout<<' ';
for(l=1;l<=n;l++)
cout<<'*';
cout<<endl;}}