#include <bits/stdc++.h>
using namespace std;
int N, M, T, K;
int gcd(int a, int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  scanf("%d", &N);
  int mx = -1;
  int g;
  for (int i = 1; i <= N; i++) {
    int x;
    scanf("%d", &x);
    mx = max(mx, x);
    if (i == 1)
      g = x;
    else
      g = gcd(g, x);
  }
  int a = mx / g - N;
  if (a % 2 == 1)
    printf("Alice");
  else
    printf("Bob");
}
