#include <bits/stdc++.h>
using namespace std;
const int inf = 2000000000;
int gcd(int a, int b) {
  int r;
  while (b) {
    r = a % b;
    a = b;
    b = r;
  }
  return a;
}
int main() {
  int n, mx, g, i, ans, a[103];
  while (scanf("%d", &n) == 1) {
    mx = -1;
    for (i = 0; i < n; i++) {
      scanf("%d", &a[i]);
      mx = max(mx, a[i]);
      if (i == 0)
        g = a[i];
      else
        g = gcd(g, a[i]);
    }
    ans = mx / g - n;
    if (ans % 2)
      printf("Alice\n");
    else
      printf("Bob\n");
  }
  return 0;
}
