#include <bits/stdc++.h>
using namespace std;
int gcd_(int a, int b) {
  if (b == 0)
    return a;
  else
    return gcd_(b, a % b);
}
int main() {
  int n, i, x;
  vector<int> v;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> x;
    v.push_back(x);
  }
  int max1 = v[0];
  x = v[0];
  for (i = 1; i < n; i++) {
    x = gcd_(v[i], x);
    if (v[i] > max1) max1 = v[i];
  }
  int moves = ((max1 / x) - n);
  if (moves % 2 != 0)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
  return 0;
}
