#include <bits/stdc++.h>
int sb(int a, int b) { return b == 0 ? a : sb(b, a % b); }
int main() {
  int n, i, max = 0, a[110];
  scanf("%d", &n);
  for (i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
    max = max > a[i] ? max : a[i];
  }
  int k = a[1];
  for (i = 2; i <= n; i++) k = sb(k, a[i]);
  if ((max / k - n) & 1)
    puts("Alice");
  else
    puts("Bob");
  return 0;
}
