b,c[];main(a){for(;~scanf("%d",&a);puts(memset(c,42,32)))for(b=0,memset(c,0,99);b<=a;b++)printf("|%s\\\n",memset(c,b