#include <bits/stdc++.h>
using namespace std;
long long gcd(long long g, long long e) {
  while (e) {
    long long a = g % e;
    g = e;
    e = a;
  }
  return g;
}
int main() {
  int n;
  cin >> n;
  long long e, m, g, res;
  cin >> e;
  m = e;
  g = e;
  for (int i = 1; i < n; i++) {
    cin >> e;
    m = max(m, e);
    g = gcd(g, e);
  }
  res = m / g - n;
  res = res & 1;
  if (res == 1)
    cout << "Alice";
  else
    cout << "Bob";
  return 0;
}
