题号:NC222871
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
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.