#include <bits/stdc++.h>
using namespace std;
int main()
{
int i,j,n;
cin>>n;
int a=(n+1)/2,b=a-1;
for(i=1 ; i<=a ;i++){
for(j=1 ; j<=i-1 ; j++){
cout<<" ";
}
for(j=1 ; j<=n ; j++){
cout<<"*";
}
cout<<endl;
}
for(i=1 ; i<=b ;i++){
for(j=1 ; j<=b-i ; j++){
cout<<" ";
}
for(j=1 ; j<=n ; j++){
cout<<"*";
}
cout<<endl;
}
return 0;
}
/**************************************************************
Problem: 1219
User: mc002
Language: C++
Result: Accepted
Time:15 ms
Memory:2072 kb
****************************************************************/