#C3759. Deciding the Best Gift: Who to Invite?

    ID: 47221 Type: Default 1000ms 256MiB

Deciding the Best Gift: Who to Invite?

Deciding the Best Gift: Who to Invite?

John is planning a party and must decide who to invite based on the gift values offered by two friends, Alice and Bob. For each test case, you are provided with four integers: GA, TA, GB, and TB. The gift value for Alice is computed as $$GA + TA$$ and for Bob as $$GB + TB$$.

Your task is to compare these two sums. If Alice's total is greater than Bob's total, output "Alice". If Bob's total is greater, output "Bob". If the sums are equal, output "Either".

Note: Use the mathematical notation in LaTeX as shown for the formulas.

inputFormat

The first line of the input contains an integer T, representing the number of test cases. Each of the following T lines contains four space-separated integers: GA, TA, GB, TB.

outputFormat

For each test case, print a single line containing one of the strings: "Alice", "Bob", or "Either", based on whose total gift value (computed as the sum of the two given numbers) is higher. If the values are equal, print "Either".## sample

3
10 20 15 15
30 25 20 30
50 50 50 50
Either

Alice Either

</p>