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