#include <bits/stdc++.h>
using namespace std;
int n, gcd, mx;
int GCD(int x, int y) {
  if (!y) return x;
  return GCD(y, x % y);
}
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    int x;
    scanf("%d", &x);
    mx = max(x, mx);
    gcd = GCD(x, gcd);
  }
  int t = mx / gcd - n;
  if (t % 2)
    printf("Alice\n");
  else
    printf("Bob\n");
  return 0;
}
