#include <bits/stdc++.h>
using namespace std;
int a[100];
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
  int n;
  while (cin >> n) {
    int g = 0;
    int m = -1;
    for (int i = 0; i < n; ++i) {
      cin >> a[i];
      if (m < a[i]) m = a[i];
      g = gcd(g, a[i]);
    }
    if ((m / g - n) & 1) {
      cout << "Alice" << endl;
    } else {
      cout << "Bob" << endl;
    }
  }
  return 0;
}
