while 1: s=set();r="" for c in input(): r+=c if c in "stop": s.add(c) if len(s)==4:break print(r)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page