#include <bits/stdc++.h>
using namespace std;
int a[100005];
int Gcd(int x, int y) {
  if (y == 0) return x;
  return Gcd(y, x % y);
}
int main(void) {
  int n, i, ans;
  scanf("%d", &n);
  for (i = 1; i <= n; i++) scanf("%d", &a[i]);
  sort(a + 1, a + n + 1);
  ans = 0;
  for (i = 1; i <= n; i++) ans = Gcd(ans, a[i]);
  if (((a[n] / ans) - (n - 1)) % 2)
    printf("Bob\n");
  else
    printf("Alice\n");
  return 0;
}
