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