#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return !b ? a : gcd(b, a % b); }
int main() {
  int n, mx = 0, gg;
  int a[100];
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i], mx = max(mx, a[i]);
  gg = a[0];
  for (int i = 1; i < n; i++) gg = gcd(gg, a[i]);
  int x = mx / gg;
  if (abs(x - n) % 2)
    cout << "Alice";
  else
    cout << "Bob";
  cout << '\n';
  return 0;
}
