100 #ABC071A. [ABC071A] Meal Delivery

[ABC071A] Meal Delivery

Score : 100100 points

Problem Statement

Snuke lives at position xx on a number line. On this line, there are two stores AA and BB, respectively at position aa and bb, that offer food for delivery.

Snuke decided to get food delivery from the closer of stores AA and BB. Find out which store is closer to Snuke's residence.

Here, the distance between two points ss and tt on a number line is represented by st|s-t|.

Constraints

  • 1x10001 \leq x \leq 1000
  • 1a10001 \leq a \leq 1000
  • 1b10001 \leq b \leq 1000
  • x,ax, a and bb are pairwise distinct.
  • The distances between Snuke's residence and stores AA and BB are different.

Input

Input is given from Standard Input in the following format:

xx aa bb

Output

If store AA is closer, print A; if store BB is closer, print B.

5 2 7
B

The distances between Snuke's residence and stores AA and BB are 33 and 22, respectively. Since store BB is closer, print B.

1 999 1000
A