long t,s;x;main(d,i){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++;);}