#include <bits/stdc++.h>
int main() {
  int n, i, t, mx, gcd = 0, a;
  scanf("%d", &n);
  for (i = 0; i ^ n; i++) {
    scanf("%d", &a);
    mx = mx < a ? a : mx;
    while (gcd) {
      t = a;
      a = gcd;
      gcd = t % gcd;
    }
    gcd = a;
  }
  mx /= gcd;
  mx -= n;
  printf(mx & 1 ? "Alice\n" : "Bob\n");
  return 0;
}
