for(s=" ";p=readline(i=-1).split(s);print(p.join(s).replace(/ /,'|')))for(c=eval(p.join("+"))/2;++i<10;)p[i]^c?c-=p[i]:p[i]+=s
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page