#include using namespace std; int main(){ int N; cin >> N; vector A(N); for (int i = 0; i < N; i++){ cin >> A[i]; } int p = -1; for (int i = 1; i < N; i++){ if (A[i] == 1){ p = i; break; } } if (p == -1){ cout << "Alice" << endl; } else if ((N - p) % 2 == 0){ cout << "Alice" << endl; } else if (A[N - 1] > 1){ cout << "Alice" << endl; } else { cout << "Bob" << endl; } }