Good Game, GG
题号: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 a_i. 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 a_i ().

The sum of  is less than .

输出描述:

In each query, print Aliceif Alice is the winner, print Bob otherwise.
示例1

输入

复制
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 1_{}, the list becomes [2]_{}. Bob can divide 2_{} into 1,1_{}, the list becomes [1,1]_{}. Then, Alice can delete 1_{}, the list becomes [1]_{}. Now Bob can't make a move, so Alice wins.