#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
int main() {
  int N;
  cin >> N;
  int ar[101];
  int mx = 0;
  for (int i = 0; i < N; i++) {
    cin >> ar[i];
    mx = max(mx, ar[i]);
  }
  int gd = ar[0];
  for (int i = 1; i < N; i++) gd = gcd(gd, ar[i]);
  int moves = mx / gd - N;
  if (moves % 2 == 0) {
    cout << "Bob"
         << "\n";
  } else {
    cout << "Alice"
         << "\n";
  }
  return 0;
}
