#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  if (min(a, b) == 0) {
    return max(a, b);
  } else
    return gcd(max(a, b) % min(a, b), min(a, b));
}
int main() {
  int n;
  cin >> n;
  int g, ma;
  cin >> g;
  ma = g;
  for (int i = 0; i < n - 1; i++) {
    int a;
    cin >> a;
    g = gcd(g, a);
    ma = max(ma, a);
  }
  int num = ma / g;
  num -= n;
  if (num % 2 == 0) {
    cout << "Bob";
  } else
    cout << "Alice";
}
