Bob is very angry because Alice broke his wondeful TV, so he will battle with Alice in a game to avenge.
The game is a very simple game. Initially, they are given a non-empty string
The game ends when
Bob is very confident with the game, so he will let Alice move first. Also, Alice and Bob will take their moves optimally.
Your task is to tell who is the winner or they draw.
The first line contains an integer denotes that the number of testcases
The following
For each testcase, print the result of the game.
If winner is Alice, print " Alice
"
If winner is Bob, print " Bob
"
If they draw, print " Draw
"
3
ilikealgorithm
gggggggggggg
ooooooooooooohhhhhhhhhhhhh
Alice
Draw
Alice
For 30% testcases:
For all testcases:
The total length of the strings over all testcases doesn't exceed 2000.