#include using namespace std; int main(){ int N; cin >> N; vector A(N); int l = 0, r = 0; set s; for(int i = 0; i < N; i++) { cin >> A[i]; s.insert(A[i]); } for(int i = 1; i < N; i++){ if(i % 2 == 0) r ^= A[i]; else l ^= A[i]; } if(l % 2 == 0) { int cnt = 0; for(int i = 0; i < 29; i++){ if(s.count(1 << i)) cnt++; } if(cnt >= 2) cout << "Alice" << endl; else cout << "Bob" << endl; } else { cout << "Alice" << endl; } }