a=list(open('../fd/0')) for x in a:i=1;exec"i+=sum(y[:i]==x[:i]for y in a)>1;"*10;print x[:i]

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

download

return to the top page