#include <bits/stdc++.h>
using namespace std;
const int oo = (int)1e9;
const double eps = 1e-9;
long long gcd(long long a, long long b);
int main() {
  int n;
  long long maxi = 0, num, g;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> num;
    maxi = max(maxi, num);
    g = gcd(g, num);
  }
  if ((maxi / g - n) % 2)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
}
long long gcd(long long a, long long b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
