r=raw_input\x0d s=set\x0d w=r()\x0d while 1:\x0d n=r()\x0d if s(n)==s(w):print n
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page