for(b=1;b=0+(''+readline(a=b)).split(s=''),a!=b;print(/.+\S/(s)))for(i in a+b)s+=/\./(a[~-i]+a[-~i])?'|':/\./(a[i]+b[i])?'_':' '

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

download

return to the top page