#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  while (a % b != 0) {
    int tmp = a;
    a = b;
    b = tmp % b;
  }
  return b;
}
int main() {
  int n;
  cin >> n;
  vector<int> t(n);
  for (int i = 0; i < n; ++i) cin >> t[i];
  int co = t[0], ma = 1;
  for (int i = 1; i < n; ++i) co = gcd(co, t[i]);
  for (int i = 0; i < n; ++i) t[i] /= co, ma = max(t[i], ma);
  cout << ((ma - n) % 2 ? "Alice" : "Bob") << "\n";
}
