#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18;
const long long mod = 1e9 + 7;
const long long N = 500;
int gcd(int x, int y) {
  if (y == 0) return x;
  return gcd(y, x % y);
}
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int g = 0;
  int maxi = 0;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    maxi = max(maxi, x);
    g = gcd(g, x);
  }
  cout << ((maxi / g - n) % 2 == 1 ? "Alice" : "Bob") << endl;
  return 0;
}
