#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:512000000")
using namespace std;
template <class T>
inline T sqr(T x) {
  return x * x;
}
template <class T>
inline string tostr(const T &x) {
  stringstream ss;
  ss << x;
  return ss.str();
}
const double EPS = 1e-6;
const int INF = 1000 * 1000 * 1000;
const char CINF = 102;
const long long LINF = INF * 1ll * INF;
const long double PI = 3.1415926535897932384626433832795;
long long gcd(long long a, long long b) { return a ? gcd(b % a, a) : b; }
int main(int argc, char **argv) {
  int n;
  cin >> n;
  int m = 0, g = 0;
  for (int i = 0; i < (n); ++i) {
    int a;
    cin >> a;
    m = max(m, a);
    g = gcd(g, a);
  }
  if ((m / g - n) % 2)
    cout << "Alice";
  else
    cout << "Bob";
  return 0;
}
