Set symmetric difference by murky-satyr

for([i,x]in a=((r=readline)(s=' ')+s+r(o='')).split(s).sort())x!=a[i-1]&x!=a[++i]?o+=x+s:0
print(o)

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

download

return to the top page