for(q=readline;[a,_,b]=q();)a|b?q[q[a]=b]=a:print((q[b]||a)+_+(q[a]||b))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page