单点时限: 1.0 sec
内存限制: 512 MB
This quesiton is very simple.This quesiton is very simple.This quesiton is very simple.
Alice and Bob play a game. Initially they have
During each turn, the player will choose a certain card and get points. If Alice chooses the
Whoever gets a higher score, wins. You have to determine who wins if they both play optimally.
There are multiple test cases in this problem.
In each test case,the first line contains one integer
For each test case print Alice
if Alice can win and Bob
if Bob can win.
If they get the same score,print AEMSHANA
.
3 1 2 3 4 5 6 2 1 8 9 1 2 3 5 4 1
Bob AEMSHANA Alice