use bigint; <>; for(<>){ ($d,$x,$t)=map$_+0,/\d+/g; print+($x+$d-1)->bnok($x)<=$t?AC:ZETUBOU,$/ }