uniq words by zetamatta

H={}
while 1:
 for W in raw_input().split():
  if W not in H:print W;H[W]=1

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

download

return top