#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  int n, mx = -1, i, val, x;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> x;
    if (i == 0)
      val = x;
    else
      val = gcd(val, x);
    mx = max(mx, x);
  }
  int ans = mx / val - n;
  if (ans & 1)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
  return 0;
}
