#include <bits/stdc++.h>
using namespace std;
int a[100];
int gcd(int a, int b) {
  if (a < b) swap(a, b);
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
int main(void) {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  int g = a[0];
  for (int i = 1; i < n; i++) g = gcd(g, a[i]);
  int total = a[n - 1] / g - n;
  if (total % 2 == 1)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
}
