#include <bits/stdc++.h>
using namespace std;
int n, a[10005], x = 0, z = 0;
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
int main() {
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    x = max(x, a[i]);
    z = gcd(z, a[i]);
  }
  cout << ((x / z - n) % 2 ? "Alice" : "Bob");
  return 0;
}
