q=p=" "*99 exec'try:r=raw_input()+q\nexcept:r=q\nprint"".join("| _"[x==y:][y==x!=a==z]+"_ "[y==z]for x,y,z,a in zip(" "+p,p,r," "+r)).rstrip();p=r\n'*33

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

download

return top