#include <bits/stdc++.h>
int gcd(int x, int y) { return y == 0 ? x : gcd(y, x % y); }
int a[120];
int main(void) {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) scanf("%d", &a[i]);
  int mx = 0;
  for (int i = 0; i < n; ++i) mx = mx > a[i] ? mx : a[i];
  int cm = mx;
  for (int i = 0; i < n; ++i) cm = gcd(cm, a[i]);
  int cnt = mx / cm - n;
  if (cnt % 2 == 1)
    puts("Alice");
  else
    puts("Bob");
}
