#include <bits/stdc++.h>
using namespace std;
inline int nextint() {
  int temporary;
  scanf("%d", &temporary);
  return temporary;
}
inline long long nextll() {
  long long temporary;
  scanf("%lld", &temporary);
  return temporary;
}
inline double nextdouble() {
  double temporary;
  scanf("%lf", &temporary);
  return temporary;
}
long long gcd(long long a, long long b) { return b == 0 ? a : gcd(b, a % b); }
long long lcm(long long a, long long b) { return a * (b / gcd(a, b)); }
long long leftChild(long long p) { return p << 1; }
long long rightChild(long long p) { return (p << 1) + 1; }
inline long long mid(long long l, long long r) { return (l + r) / 2; }
const long long MOD = 1000000009;
const long long INF = 1e9 + 5;
const double eps = 1e-7;
const double PI = acos(-1.0);
inline bool is_palindrome(const string& s) {
  return std::equal(s.begin(), s.end(), s.rbegin());
}
template <typename T>
void modulize(T& a, const T& b) {
  if (a >= b) {
    a %= b;
  }
}
long long mulmod(long long a, long long b, long long m) {
  long long q = (long long)(((long double)a * (long double)b) / (long double)m);
  long long r = a * b - q * m;
  if (r > m) r %= m;
  if (r < 0) r += m;
  return r;
}
template <typename T, typename S>
T expo(T e, S n) {
  T x = 1, p = e;
  while (n) {
    if (n & 1) x = x * p;
    p = p * p;
    n >>= 1;
  }
  return x;
}
template <typename T>
T power(T e, T n, T& m) {
  T x = 1, p = e;
  while (n) {
    if (n & 1) x = mod(x * p, m);
    p = mod(p * p, m);
    n >>= 1;
  }
  return x;
}
template <typename T>
T powerL(T e, T n, T& m) {
  T x = 1, p = e;
  while (n) {
    if (n & 1) x = mulmod(x, p, m);
    p = mulmod(p, p, m);
    n >>= 1;
  }
  return x;
}
template <typename T>
T InverseEuler(T a, T& m) {
  return (a == 1 ? 1 : power(a, m - 2, m));
}
inline int two(int n) { return 1 << n; }
inline void set_bit(int& n, int b) { n |= two(b); }
inline void unset_bit(int& n, int b) { n &= ~two(b); }
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  int arr[105], maxm = -1, g = 0;
  for (long long i = (long long)(0); i < (long long)(n); i++) {
    cin >> arr[i];
    maxm = max(maxm, arr[i]);
    g = gcd(g, arr[i]);
  }
  bool val = (maxm / g - n) % 2 == 1;
  if (val) {
    cout << "Alice";
  } else {
    cout << "Bob";
  }
  return 0;
}
