#include <bits/stdc++.h>
using namespace std;
int a[110];
int gcd(int x, int y) {
  if (!x)
    return y;
  else
    return gcd(y % x, x);
}
int main() {
  int n, mx = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    mx = max(mx, a[i]);
  }
  int g = a[0];
  for (int i = 1; i < n; i++) g = gcd(g, a[i]);
  if ((mx / g - n) % 2 == 1)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
  return 0;
}
