#include <bits/stdc++.h>
using namespace std;
const int MAXN = 110;
int a[MAXN];
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
  int n, i;
  while (scanf("%d", &n) == 1) {
    scanf("%d", &a[0]);
    int temp = a[0];
    int mmax = a[0];
    for (i = 1; i < n; i++) {
      scanf("%d", &a[i]);
      temp = gcd(temp, a[i]);
      mmax = max(a[i], mmax);
    }
    int ans = mmax / temp - n;
    if (ans & 1)
      printf("Alice\n");
    else
      printf("Bob\n");
  }
  return 0;
}
