#include <bits/stdc++.h>
using namespace std;
int n;
int gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  while (cin >> n) {
    long long g, m = 0;
    long long a, b;
    cin >> a >> b;
    g = gcd(a, b);
    m = a > b ? a : b;
    for (int i = 2; i < n; i++) {
      cin >> b;
      if (b > m) m = b;
      g = gcd(g, b);
    }
    long long cnt = m / g - n;
    if (cnt % 2)
      cout << "Alice" << endl;
    else
      cout << "Bob" << endl;
  }
  return 0;
}
