B="/\\","\\/" exec r'B=["".join(" /\\"[t>>ord(c)%7%5*8+i*2&3]for c in b for i in range(4))for b in B for t in 9792,4233,1122,38913];'*input() print"\n".join(B)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top