#include <bits/stdc++.h>
int gcd(int a, int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  int n, x, mx = -1, d;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &x);
    mx = mx > x ? mx : x;
    d = i == 0 ? x : gcd(d, x);
  }
  x = mx / d;
  x = n - x;
  if (x & 1)
    puts("Alice");
  else
    puts("Bob");
  return 0;
}
