#include <bits/stdc++.h>
using namespace std;
long long GCD(long long a, long long b) {
  if (b == 0)
    return a;
  else
    return GCD(b, a % b);
}
int main() {
  long long num;
  cin >> num;
  long long maxi = 0, gcdnum = 0, temp;
  for (int i = 0; i < num; i++) {
    cin >> temp;
    maxi = max(maxi, temp);
    gcdnum = GCD(gcdnum, temp);
  }
  long long round = maxi / gcdnum - num;
  if (round % 2 != 0)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
  return 0;
}
