#include #pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") using namespace std; using ll = long long; const ll mod = 998244353; #define fi first #define se second #define rep(i,n) for(ll i=0;i> T; while(T--){ ll N; cin >> N; ll ans=0; rep(i,N){ ll a; cin >> a; ans^=f(a); } if(ans!=0){ cout << "Alice" << endl; }else{ cout << "Bob" << endl; } } return 0; }