include<stdio.h>

int n;
int main(){
while(scanf("%d",&n) != EOF){
for(int i = 1;i <= n;i ++){
for(int j = 1;j <= n-i;j ++) printf(" ");
for(int j = 1;j <= 2i-1;j ++) printf("");
printf("\n");
}
}
}