P27347 [AtCoder] Median
普及
题目描述

Problem Description

Given three distinct integers $A, B, C$, output which one is the second largest among them, either A, B, or C.

Input Format

The input is given from the standard input in the following format:

$ A $ $ B $ $ C $

Output Format

Output which one of $A, B, C$ is the second largest among them, either A, B, or C.

Sample Input and Output

Sample Input #1

15 49 7

Sample Output #1

A

Sample Input #2

53 2 1

Sample Output #2

B

Notes/Hints

Constraints

  • $1 \le A, B, C \le 100$
  • $ A, B, C $ are distinct integers

Sample Explanation 1

$ A = 15 $ is the second largest.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
15 49 7
样例输出
A