#include <bits/stdc++.h>
using namespace std;
const int INF = 0x7fffffff;
int a[150];
int gcd(int x, int y);
int main() {
  int n;
  cin >> n;
  int Max = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    Max = max(a[i], Max);
  }
  int ans = 0;
  int Min = a[0];
  for (int i = 0; i < n; i++) {
    Min = gcd(Min, a[i]);
  }
  ans = Max / Min - n;
  if (ans % 2 == 0)
    cout << "Bob" << endl;
  else
    cout << "Alice" << endl;
  return 0;
}
int gcd(int x, int y) {
  int tem;
  if (x < y) {
    tem = x;
    x = y;
    y = tem;
  }
  if (y == 0)
    return x;
  else
    return gcd(y, x % y);
}
