#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  while (b) {
    if (a < b)
      swap(a, b);
    else {
      int temp = b;
      b = a % b;
      a = temp;
    }
  }
  return a;
}
int main() {
  int n;
  scanf("%d", &n);
  int div = 0;
  int max = 0;
  for (int i = 0; i < (n); ++i) {
    int temp;
    scanf("%d", &temp);
    if (temp > max) max = temp;
    div = gcd(div, temp);
  }
  int all = max / div;
  int rem = all - n;
  if (rem % 2)
    printf("Alice\n");
  else
    printf("Bob\n");
  return 0;
}
