## LCC '23 Contest 4 J4 - Help Me

View as PDF

Points: 7 (partial)
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type

Shane is writing the CCC right now. He comes across this problem and he wants you to help him solve it (which is cheating of course).

Aaron and Baron play a game. There are sticks in the backyard. of them can only be picked up by Aaron and of them can only be picked up by Baron. of them can be picked up by either. Aaron and Baron take turns picking up sticks. In a turn, they can pick up anywhere from to sticks. Each turn they make, they must pick up a different number of sticks than the previous turn. Aaron goes first. The loser is whoever is unable to pick up a stick during their turn. Given Aaron and Baron play intelligently, who will win?

Shane needs help. He desperately needs to score 75/75 on CCC this year. Can you help?

#### Input Specification

The first and only line will contain integers .

#### Output Specification

Output Aaron if Aaron wins and Baron if Baron wins.

#### Sample Input

4 3 2 5

#### Sample Output

Aaron

#### Sample Explanation

Aaron takes two sticks. Then Baron takes one stick. Then Aaron takes one stick. Baron takes two sticks (note Baron cannot take one stick). Aaron takes three sticks. Baron has no more moves. So Aaron wins.