| Codeforces Round 1034 (Div. 3) |
|---|
| Finished |
Initially, the integers from $$$0$$$ to $$$n-1$$$ are written on a blackboard.
In one round,
Rounds take place in succession until a player is unable to make a move — the first player who is unable to make a move loses. Determine who wins with optimal play.
$$$^{\text{∗}}$$$We define that $$$x\equiv y\pmod m$$$ whenever $$$x-y$$$ is an integer multiple of $$$m$$$.
The first line contains an integer $$$t$$$ ($$$1 \leq t \leq 100$$$) — the number of test cases.
The only line of each test case contains an integer $$$n$$$ ($$$1\leq n \leq 100$$$) — the number of integers written on the blackboard.
For each test case, output on a single line "Alice" if Alice wins with optimal play, and "Bob" if Bob wins with optimal play.
You can output the answer in any case (upper or lower). For example, the strings "aLiCe", "alice", "ALICE", and "alICE" will be recognized as "Alice".
52457100
Alice Bob Alice Alice Bob
In the first sample, suppose Alice chooses $$$0$$$, then Bob cannot choose any number so Alice wins immediately.
In the second sample, suppose Alice chooses $$$0$$$, then Bob can choose $$$3$$$. Then suppose Alice chooses $$$2$$$, then Bob can choose $$$1$$$. Then Alice has no numbers remaining, so Bob wins.
| Name |
|---|


