#include using namespace std; int main() { int n; cin >> n; int a[200005]; for(int i = 0; i < n; i++) cin >> a[i]; bool first = true; for(int i = n - 1; i >= 0; i--){ if(a[i] != 1) break; first = !first; } if(first) cout << "Alice" << endl; else cout << "Bob" << endl; }