#include using namespace std; int main(){ int N; cin >> N; vector A(N); for (int i = 0; i < N; i++){ cin >> A[i]; } bool ok = true; if (N == 1){ ok = false; } for (int i = 1; i < N - 1; i++){ if (A[i] == 1){ ok = false; } } if (A[N - 1] != 1){ ok = false; } if (!ok){ cout << "Alice" << endl; } else { cout << "Bob" << endl; } }