char b[];main(a,c){scanf("%d",&a);memset(b+10,'+',c=a);memset(b,' ',a/2);b[a/2]='+';for(;c--;puts(c-a/2?b:b+10));}