#include
long fac(int i)
{
if(0==i||1==i)
return 1;
return i*fac(i-1);
}
int main()
{
const int sp=4;
int n=5,i,j;
scanf("%d",&n);
for(i=0;i { printf("%*ld",sp*(n-i-1)+1,1); for(j=1;j<=i;j++) printf("%*ld",sp*2,fac(i)/fac(j)/fac(i-j)); printf("\n"); } return 0; }