#include <bits/stdc++.h>
using namespace std;
const double PI = 2.0 * acos(0.0);
const double EPS = 1e-6;
int gcd(int a, int b) {
  for (int tmp = a % b; tmp > 0; tmp = a % b) {
    a = b;
    b = tmp;
  }
  return b;
}
int main() {
  int n;
  scanf("%d", &n);
  int g = 0;
  int maxx = 0;
  for (int i = 0; i < n; i++) {
    int a;
    scanf("%d", &a);
    g = gcd(g, a);
    maxx = max(maxx, a);
  }
  puts((maxx / g - n) & 1 ? "Alice" : "Bob");
  return 0;
}
