#include <cstdio>
#include <cstdlib>
#include <algorithm>
using namespace std;

int main()
{
    int n;
    scanf ("%d", &n);

    int gcd = 0, Max = 0;

    for (int i=0; i<n; i++)
    {
        int a;
        scanf ("%d", &a);

        Max = max(Max, a);

        gcd = __gcd(gcd, a);
    }

    int s = Max / gcd - n;

    printf("%s\n", s % 2 == 1 ? "Alice" : "Bob");

    return 0;
}
