#include
using namespace std;
int main() {
int i,j,k=1,n,l,m;
cin>>n;
l=n-1;
m=2;
for(i=0;i<n;i++)
{
if(i<=(n/2))
{
for(int space1=1;space1<=l;space1++)
{
cout<<" β;
}
l=l-2;
for(j=i+1;j>=1;jβ)
{
cout<<j<<β β;
}
for(int space2=1;space2<=(2*i-1);space2++)
{
cout<<β β;
}
for(j=1;j<=(i+1);j++)
{
cout<<j<<β β;
}
cout<<endl;
}
else
{
for(int space1=1;space1<=m;space1++)
{
cout<<β β;
}
for(j=(n-i);j>=1;jβ)
{
cout<<j<<β β;
}
for(int space2=1;space2<=((n-1-i)*2-1);space2++)
{
cout<<β β;
}
for(j=1;j<=(n-i);j++)
{
cout<<j<<β ";
}
m=m+2;
cout<<endl;
}
}
return 0;
}