/** * author: shu8Cream * created: 15.05.2021 13:04:22 **/ #include using namespace std; #define rep(i,n) for (int i=0; i<(n); i++) #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() using ll = long long; using P = pair; using vi = vector; using vvi = vector; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; vi a(n); rep(i,n) cin >> a[i]; bool win = 1; rep(i,n-1){ if(a[i+1]==1) win^=1; else win = 1; } cout << (win ? "Alice" : "Bob") << endl; }