#include <bits/stdc++.h>
using namespace std;
long long g, t;
long long gcd(long long a, long long b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
  int n;
  long long Max = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> t;
    if (i)
      g = gcd(g, t);
    else
      g = t;
    Max = max(Max, t);
  }
  long long cnt = Max / g - n;
  if (cnt % 2 == 0)
    printf("Bob\n");
  else
    printf("Alice\n");
  return 0;
}
