#P0107. GameX
GameX
Problem
Once upon time, there were two saints named St. Alice and St. Bob.
Being saints were quite boring, so they decided to play a game. The game was about the operation, and was therefore named GameX.
To help you, a mere mortal, to understand the game, we first present the definition of Given a set of integers, define as the smallest natural number which is not in In other words, {}
The game went as follows.
Before the game started, which contained the Secret of Life, the Universe and Everything.
The two saints moved alternately, with St. Alice being the first. During one's move, he/she could choose an arbitrary integer and insert into S . So is updated to
After rounds, each player made updates, and now it's time to decide the winner. St. Alice wins if is even, and Bob wins otherwise.
Saints are very smart, so both of them made optimal moves. Can a mortal like you decide the winner?
Input
The first line contains a positive integer denoting the number of testcases.
For each testcase:
- The first line contains two integers denoting the size of before the game started and the number of rounds.
- The next line contains ndistinct natural numbers denoting
It is guaranteed that
Output
For each testcase, output one line consisting of the name of the winner. If St. Alice won output Alice, otherwise output Bob.
Example : in
5
14 5
7 13 1 6 14 2 16 17 18 19 34 36 20 23
13 5
8 10 3 13 14 15 16 17 18 19 20 36 38
14 5
14 20 12 6 0 16 8 11 9 17 13 3 5 19
14 5
15 7 13 3 1 17 16 14 0 12 4 10 22 53
14 5
7 3 4 0 14 15 16 17 18 19 20 21 22 23
Example : out
Bob
Bob
Alice
Bob
Alice
相关
在下列比赛中: