#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<=2*n+1;j++) { if(i<=n+1) { if(i+j<=2*n+2&&j+i>=2*n+3-i) printf("*"); else printf(" "); } else { if(j>=2*(i-n)-1&&j<=i)printf("*"); else printf(" "); } } printf("\n"); } } }