#include <bits/stdc++.h>
using namespace std;
int gcd(int x, int y) {
  if (x < y) swap(x, y);
  if (x % y == 0) {
    return y;
  } else {
    int temp = x;
    x = y;
    y = temp % y;
    return gcd(x, y);
  }
}
int main() {
  int n;
  cin >> n;
  int num[105];
  int maxn = -1;
  for (int i = 1; i <= n; i++) {
    cin >> num[i];
    if (num[i] > maxn) {
      maxn = num[i];
    }
  }
  int temp = gcd(num[1], num[2]);
  for (int i = 3; i <= n; i++) {
    temp = gcd(temp, num[i]);
  }
  if ((maxn / temp - n) % 2 == 0)
    cout << "Bob" << endl;
  else
    cout << "Alice" << endl;
}
