#c22805. 石子游戏 III
石子游戏 III
Stone Game III
Problem Description
Alice and Bob are playing a game with stones.
There are piles of stones ( is even), where the -th pile initially contains stones.
They take turns choosing non-empty piles and removing a positive number (possibly different) of stones from each chosen pile, starting with Alice.
The player who cannot make a move loses.
Assuming both Alice and Bob play optimally, who will win the game?
Input Format
The first line contains an integer (, is even).
The second line contains positive integers ().
Output Format
Output Alice or Bob, indicating the final winner.
Sample Input
4
1 1 1 1
Sample Output
Bob