#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define _CRT_SECURE_NO_WARNINGS #define REP(i, n) for(int i=0; i<(n); i++) #define FOR(i, m, n) for(int i=(m);i<(n);i++) #define SZ(x) ((int)(x).size()) #define ALL(x) (x).begin(),(x).end() #define SORT(x) sort((x).begin(),(x).end()) #define REVE(x) reverse((x).begin(),(x).end()) #define MP make_pair #define PB push_back typedef vector VI; typedef vector VS; typedef vector> VVI; typedef pair PII; typedef long long LL; int main(){ int a, b, c; cin >> a >> b >> c; int A = a, B = b, C = c; if (a > b)swap(a, b); if (b > c)swap(b, c); if (a > b)swap(a, b); swap(a, c); if (a == A)cout << "A" << endl; else if (a == B)cout << "B" << endl; else if (a == C)cout << "C" << endl; if (b == A)cout << "A" << endl; else if (b == B)cout << "B" << endl; else if (b == C)cout << "C" << endl; if (c == A)cout << "A" << endl; else if (c == B)cout << "B" << endl; else if (c == C)cout << "C" << endl; }