#include using namespace std; bool c(long long d,long long x,long long t) { long long a=1; for(long long i=1;i=t)return false; } return true; } main() { long long n;cin>>n; for(long long i=0;i>d>>x>>t; cout<<(c(d,x,t)?"AC":"ZETUBOU")<