#include <bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/STACK:167772160")
const int INF = 1e9;
const double EPS = 1e-9;
const double PI = acos(-1.);
int gcd(int a, int b) {
  while (b) {
    a %= b;
    swap(a, b);
  }
  return a;
}
int main() {
  int N;
  scanf("%d", &N);
  int mx = 0;
  int g = 0;
  for (int i = 0; i < N; ++i) {
    int t;
    scanf("%d", &t);
    mx = max(mx, t);
    g = gcd(g, t);
  }
  mx /= g;
  mx -= N;
  if (mx % 2 == 0)
    puts("Bob");
  else
    puts("Alice");
  return 0;
}
