#ARC137C. [ARC137C] Distinct Numbers

[ARC137C] Distinct Numbers

Score : 600600 points

Problem Statement

You are given a non-negative integer sequence of length NN: A=(A1,A2,,AN)A=(A_1,A_2,\cdots,A_N). Here, all elements of AA are pairwise distinct.

Alice and Bob will play a game. They will alternately play a turn, with Alice going first. In each turn, the player does the operation below.

  • Choose the largest element in AA at the moment, and replace it with a smaller non-negative integer. Here, all elements in AA must still be pairwise distinct after this operation.

The first player to be unable to do the operation loses. Determine the winner when both players play optimally.

Constraints

  • 2N3×1052 \leq N \leq 3 \times 10^5
  • 0A1<A2<<AN1090 \leq A_1 < A_2 < \cdots < A_N \leq 10^9
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN

A1A_1 A2A_2 \cdots ANA_N

Output

If Alice wins, print Alice; if Bob wins, print Bob.

2
2 4
Alice

In Alice's first turn, she may replace 44 with 00, 11, or 33. If she replaces 44 with 00 or 11, Bob's move in the next turn will make Alice unable to do the operation and lose. On the other hand, if she replaces 44 with 33, she can win regardless of Bob's subsequent moves. Thus, Alice wins in this input.

3
0 1 2
Bob