n=0 exec"i=n=n+1\nwhile-2%2**i%i+n%i:i-=1\nprint i;"*100