#include <bits/stdc++.h>
using namespace std;
const int N = 105;
int n, a[N];
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
  cin >> n;
  int g, m;
  cin >> a[0];
  g = m = a[0];
  for (int i = 1; i < n; i++) {
    cin >> a[i];
    g = gcd(g, a[i]);
    m = max(m, a[i]);
  }
  cout << ((m / g - n) & 1 ? "Alice" : "Bob") << endl;
  return 0;
}
