#P1110. Alice and Bob
Alice and Bob
Description
Alice and Bob like playing games. There are two piles of stones with numbers . Alice and Bob take turns to operate, each operation can take away stones from one pile and take away stones from another pile. Alice plays first. The person who cannot perform the operation loses the game.
Input
The first line contains an integer denotes the total number of test cases. Each test case contains two integers in a line, indicating the number of two piles of stones.
Output
For each test case, print "Alice" if Alice will win the game, otherwise print "Bob".
Samples
5
2 3
3 5
5 7
7 5
7 7
Bob
Alice
Bob
Bob
Alice
Limitation
1s, 1024KiB for each test case.