#include <bits/stdc++.h>
int GCD(int x, int y) {
  if (x > y) {
    if (x % y == 0) return y;
    return GCD(x % y, y);
  }
  if (y % x == 0) return x;
  return GCD(y % x, x);
}
int main() {
  int N;
  int x, y;
  scanf("%d", &N);
  int i;
  int Max;
  for (i = 1; i <= N; i++) {
    scanf("%d", &y);
    if (i == 1)
      x = y, Max = y;
    else {
      x = GCD(x, y);
      if (Max < y) Max = y;
    }
  }
  if (((Max / x) - N) % 2 == 0)
    printf("Bob");
  else
    printf("Alice");
}
