p=0 while 1:s="*=p*(p!=16)";d="-=p>0";i="+=1";o="rint p";exec"p"+input()