#include <bits/stdc++.h>
int gcd(int a, int b) {
  int temp;
  if (a < b) {
    temp = b;
    b = a;
    a = temp;
  }
  while (b != 0) {
    temp = b;
    b = a % b;
    a = temp;
  }
  return a;
}
int main() {
  int n, max, i, diff;
  scanf("%d", &n);
  int arr[n];
  scanf("%d", &arr[0]);
  max = arr[0];
  for (i = 1; i < n; i++) {
    scanf("%d", &arr[i]);
    if (arr[i] > max) max = arr[i];
  }
  int gcdval = arr[0];
  for (i = 1; i < n; i++) {
    gcdval = gcd(arr[i], gcdval);
  }
  int num;
  num = max / gcdval;
  diff = num - n;
  if (diff % 2 == 0)
    printf("Bob");
  else
    printf("Alice");
  return 0;
}
