for(a=[];;b?a.push([n-b?1e8*(99-b)-n:-99-n,n]):print(a.sort().pop()[1]))n=readline(),b=n&-n
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page