a=b=[[' '*n=gets.hex]*3*?|]*n,[?-*n]*3*?+ puts a*2,b