long t,s;i,d;main(x){for(;s=i>=d|s>2e15?i=scanf("%ld%d%d",&t,&d,&x)>0,i*s&&puts(s>t?"ZETUBOU":"AC"),i:s*(x+i)/i++;);}