#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
int main() {
  int n;
  scanf("%d", &n);
  int arr[111];
  int maxn = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &arr[i]);
    maxn = max(maxn, arr[i]);
  }
  int m = gcd(arr[0], arr[1]);
  for (int i = 2; i < n; i++) m = gcd(arr[i], m);
  int cou = maxn / m - n;
  if (cou % 2 == 0)
    printf("Bob");
  else
    printf("Alice");
}
