t=[] while 1: for i in raw_input().split(): if(i in t)-1:print i;t+=[i]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page