#include <bits/stdc++.h>
using namespace std;
bool comp(int a, int b) { return (a > b); }
int gcd(int a, int b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
int main(void) {
  int n;
  cin >> n;
  int a[n], i, d = 0;
  for (i = 0; i < n; ++i) cin >> a[i];
  sort(a, a + n);
  d = gcd(a[n - 1], a[n - 2]);
  for (i = n - 3; i >= 0; --i) {
    d = gcd(a[i], d);
  }
  d = (a[n - 1] / d) - n;
  if (d % 2 == 0)
    cout << "Bob";
  else
    cout << "Alice";
  return 0;
}
