2021 年东华大学金马程序设计联赛

H. A Simple Game
PDF 题面可用
你可以在这里下载。

单点时限: 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 $n$ cards. They take alternating turns, and Alice is moving first.

During each turn, the player will choose a certain card and get points. If Alice chooses the $i$-th card, her score will be increased by $a_i$. If Bob chooses the $i$-th card,his score will be increased by $b_i$. Each card can only be choosed by one player. The game ends when all cards are choosed.

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 $n(1\leq n\leq 10^5)$. The second line contains $n$ space-separated positive integers $a_i(1\leq a_i\leq 10^9)$. The third line contains $n$ space-separated positive integers $b_i(1\leq b_i\leq 10^9)$.

输出格式

For each test case print Alice if Alice can win and Bob if Bob can win.

If they get the same score,print AEMSHANA.

样例

Input
3
1 2 3
4 5 6
2
1 8
9 1
2
3 5
4 1
Output
Bob
AEMSHANA
Alice