main=interact$foldr(%)"[]" a%(p:x)|x>' ':[p|a/=x!!1]=p:a:x|y:z<-x=p:a:']':y:p:z
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page