Alice and Bob are playing a game. Initially there are positive numbers, the -th number is . In one turn, Alice can choose an odd number and divide it into two positive numbers, or delete a number equals to 1. Bob can choose an even number and divide it into two positive numbers. Two players move in turns, and Alice move first. In one's turn, if he or she can't move, he or she lose the game. If two player move optimally, please find out who the winner is.
You need to answer queries.
输入
First line contains one integer .
In each query:
First line contains one integer .
Second line contains integers, the -th integer is .
The sum of is less than .
输出
In each query, print Aliceif Alice is the winner, print Bob otherwise.
样例
标准输入 复制文本 |
4 3 2 4 6 2 1 2 3 1 1 4 4 2 2 3 6 |
标准输出 复制文本 |
Bob Alice Alice Bob |
提示
In first query, there are no odd number, Alice can not make a move, so Bob wins.
In second query, Alice can delete , the list becomes . Bob can divide into , the list becomes . Then, Alice can delete , the list becomes . Now Bob can't make a move, so Alice wins.
来源
2021 GDCPC 广东省大学生程序设计竞赛