import re n=s=raw_input() while n:print s;s,n=re.subn(r'/\|(?!\\)|(?<!/)\|\\',lambda _:min(_.group())*2,s)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page