#include <bits/stdc++.h>
using namespace std;
int N;
int A[100];
int gcd(int a, int b) { return (b) ? gcd(b, a % b) : a; }
int main(int argc, char** argv) {
  std::ios::sync_with_stdio(false);
  cin >> N;
  for (int i = 0; i < N; i++) cin >> A[i];
  sort(A, A + N);
  int g = gcd(A[0], A[1]);
  for (int i = 2; i < N; i++) g = gcd(g, A[i]);
  for (int i = 0; i < N; i++) A[i] /= g;
  int s = A[0] - 1;
  for (int i = 1; i < N; i++) s += A[i] - A[i - 1] - 1;
  if (s % 2)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
  return 0;
}
