11681168 SUSTech Online Judge
Problem 1168 --Chess Game

1168: Chess Game

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 937  Solved: 534
[Submit][Status][Web Board]

Description

Give you a chessboard of n row and m columns. Alice and Bob want to play a game with the following rules:

1)      Alice moves first. And they take turns to move. Alice uses black piece and Bob uses white piece.

2)      For each move, the player must chose an empty grid (x0, y0) and occupy all grids (x, y) which satisfy x >= x0 and y >= y0.

3)      The player who occupies the grid (1, 1) will lose.

Alice and Bob are both clever enough. Please write a program to predict the winner of the game.


Input

The first line of input is the number of test cases T (1 <= T <= 100)

For each test case, the first line will be two integers n, m (1 <= n, m <= 1000).


Output

For each test case, print the name of the winner. (Alice / Bob)


Sample Input

2
1 1
1 2

Sample Output

Bob
Alice

HINT

Source

[Submit][Status]