#include using namespace std; #define ll long long #define rep(i, n) for (int i = 0; i < (n); i++) #define P pair int main() { int n; cin >> n; vector a(n); rep(i,n) cin >> a[i]; int flag = 1; for (int i = 1; i < n; i++) { if (a[i] == 1) { flag *= -1; } else { if (flag == -1) flag *= -1; } } if (flag == 1) cout << "Alice" << endl; else cout << "Bob" << endl; }