t=['\n']*1721 s=0 w=8 while w: r=range(41-2*s) for y in r: for x in r:t[y*42+s*43+x]=[' ','[]'][x%w*(y%w)<1] s+=w;w-=2 print''.join(t)