#include #include using namespace std; int main(){ int n; cin >> n; vector a(n); for(auto &p: a) cin >> p; vector memo(n, false); memo[0] = true; for(int i = 1; i < n; i++){ if(a[i] == 1){ memo[i] = !memo[i-1]; }else{ memo[i] = true; } } if(memo[n-1]) cout << "Alice" << endl; else cout << "Bob" << endl; return 0; }