#include using namespace std; int main(){ int t; cin>>t; while(t--){ int n; cin>>n; vectorv(n); for(int i=0;i>v[i]; bool ok=0; if(n%2)ok=1; else{ int k=n-count(v.begin(),v.end(),1); if(k%2){ ok=1; }else{ ok=0; } } cout<<(ok?"Alice":"Bob")<