n=0 exec"t=x=n=n+1\nwhile~-x*(x-7):x=x%2*23*x+x+2>>2;t+=1\nprint['Infinity',`t-n`][x<7]+',',n;"*999