#include <bits/stdc++.h>
int gcd(int a, int b) {
  if (a % b == 0) {
    return (b);
  } else {
    return (gcd(b, a % b));
  }
}
int main() {
  int n, i, g, max, val;
  scanf("%d", &n);
  int a[n];
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
  }
  g = a[0];
  max = a[0];
  for (i = 1; i < n; i++) {
    if (a[i] > max) {
      max = a[i];
    }
    g = gcd(g, a[i]);
  }
  val = max / g - n;
  if (val % 2 == 0) {
    printf("Bob\n");
  } else {
    printf("Alice\n");
  }
  return 0;
}
