#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
  int n, a, x = 0, y = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a);
    x = a > x ? a : x;
    y = gcd(y, a);
  }
  puts((x / y - n) & 1 ? "Alice" : "Bob");
}
