#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  while (b != 0) {
    int c = a % b;
    a = b;
    b = c;
  }
  return a + b;
}
int main(int argc, char** argv) {
  ios_base::sync_with_stdio(false);
  int n, mx = -1, gc = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    mx = max(mx, a);
    gc = gcd(gc, a);
  }
  if ((mx / gc - n) % 2 == 0)
    cout << "Bob";
  else
    cout << "Alice";
  return 0;
}
