#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using uint = unsigned int;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pld = pair<ld, ld>;
const long double PI =
    3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862;
const int inf_int = 1e9 + 5;
const ll inf_ll = 1e18 + 5;
const int NMax = 5e3 + 5;
const int mod = 1e9 + 7;
const int dx[] = {-1, 0, 0, +1}, dy[] = {0, -1, +1, 0};
int euclid(int a, int b) { return !b ? a : euclid(b, a % b); }
int main() {
  cin.sync_with_stdio(false);
  cin.tie(0);
  int N;
  cin >> N;
  int maxVal = 0, gcd = 0;
  for (int i = 1; i <= N; ++i) {
    int val;
    cin >> val;
    maxVal = max(maxVal, val);
    gcd = euclid(gcd, val);
  }
  int total = maxVal / gcd;
  int numMoves = total - N;
  cout << ((numMoves % 2 == 1) ? "Alice" : "Bob") << '\n';
  return 0;
}
