include<bits/stdc++.h>

using namespace std;
int main(){
int a;
while(cin>>a){
for(int i=1;i<=a;i++){
for(int j=1;j<=a;j++){
if(i==j||i==a-j+1)
cout<<"*";
else
cout<<" ";;
}
printf("\n");
}
}
return 0;
}