while 1:\x0d t=input();r=1\x0d for _ in t:t=[min(x,t[ord(x)-97])for x in t]\x0d while any(r%t.count(x)for x in t):r+=1\x0d print(r)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page