#include <bits/stdc++.h>
using namespace std;
int t, n, tot, len, a[105], gvai;
int gcd(int a, int b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    scanf("%d", &t);
    len = max(len, t);
    a[i] = t;
  }
  for (int i = 0; i < n; i++) {
    gvai = gcd(min(gvai, a[i]), max(gvai, a[i]));
  }
  t = len / gvai;
  t -= n;
  if (t % 2)
    cout << "Alice";
  else
    cout << "Bob";
}
