i,t,w;main(r){for(gets(&w),w=1<<3+2*w%7|1;r=t&r>1?r/4:w/8+!putchar(++i%w?t?i&1?92:47:32:10),i>t&1)t=i/w/r%8*8+i%w/r%8,t=t>31^r