#include <bits/stdc++.h>
using namespace std;
const int oo = 0x3f3f3f3f;
const long long OO = 0x3f3f3f3f3f3f3f3fll;
int n, ma = -1, x, d = 0;
int gcd(int a, int b) {
  if (a == 0) return b;
  return gcd(b % a, a);
}
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> x;
    ;
    ma = max(ma, x);
    d = gcd(d, x);
  }
  ma = (ma / d) - n;
  if (ma % 2 == 0)
    printf("Bob\n");
  else
    printf("Alice\n");
  return 0;
}
