#include #include #include #include using namespace std; using PIC = pair; int main() { int h; vector people(3); for (int i = 0; i < 3; i++) { cin >> h; people[i] = make_pair(h, 'A' + i); } sort(people.begin(), people.end(), greater()); for (auto x: people) { cout << x.second << endl; } return 0; }