#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
  long long pr = a, r = b, q, h;
  while (r) {
    q = pr / r;
    h = r;
    r = pr - q * r;
    pr = h;
  }
  return pr;
}
int main() {
  long long n, a, i, g, x;
  scanf("%I64d %I64d", &n, &g);
  x = g;
  for (i = 1; i < n; i++) {
    scanf("%I64d", &a);
    x = max(x, a);
    g = gcd(g, a);
  }
  n = x / g - n;
  printf("%s", (n & 1) ? "Alice" : "Bob");
  return 0;
}
