#include <algorithm>
#include <iostream>
using namespace std;
int main() {
long long a, b, c;
while (cin >> a >> b >> c) {
long long ballot[3] = {a, b, c};
char name[3] = {'A', 'B', 'C'};
for (int i = 0; i < 3; i++) {
for (int j = i + 1; j < 3; j++) {
if (ballot[i] > ballot[j]) {
swap(ballot[i], ballot[j]);
swap(name[i], name[j]);
}
}
}
if (ballot[2] > ballot[1] + ballot[0]) {
cout << name[2];
} else {
cout << name[1];
}
cout << '\n';
}
}