#include <bits/stdc++.h>
using namespace std;
int n, mx, Gcd;
inline signed iut() {
  register int ans = 0;
  register char c = getchar();
  while (!isdigit(c)) c = getchar();
  while (isdigit(c)) ans = (ans << 3) + (ans << 1) + (c ^ 48), c = getchar();
  return ans;
}
inline signed gcd(int x, int y) { return y ? gcd(y, x % y) : x; }
signed main() {
  n = iut();
  for (register int i = 1; i <= n; ++i) {
    register int x = iut();
    mx = mx > x ? mx : x, Gcd = gcd(Gcd, x);
  }
  puts(((mx / Gcd - n) & 1) ? "Alice" : "Bob");
  return 0;
}
