#include <bits/stdc++.h>
using namespace std;
const int maxn = 110;
long long ans[maxn], n;
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
int main() {
  cin >> n;
  int i, j, k;
  long long MAX = 0;
  long long g;
  for (i = 1; i <= n; i++) {
    scanf("%lld", &ans[i]);
    MAX = max(MAX, ans[i]);
    if (i == 1)
      g = ans[i];
    else
      g = gcd(g, ans[i]);
  }
  MAX /= g;
  MAX -= n;
  if (MAX & 1)
    cout << "Alice" << endl;
  else
    cout << "Bob" << endl;
  return 0;
}
