#include<stdio.h> int main() { int h; while(scanf("%d",&h)!=EOF) { int i,j; for(i=0;i<h;++i) { for(j=0;j<(h-1-i)*2;++j) printf(" "); for(j=0;j<h+2*i;++j) printf("*"); printf("\n"); } } return 0; }