#include #include #include #include #include using namespace std; typedef pair P; int main() { std::cin.tie(0); std::ios::sync_with_stdio(false); vector

hs(3); for(int i=0;i<3;i++){ int h; cin >> h; hs.at(i) = P(h, 'A' + i); } sort(hs.begin(), hs.end(), greater

()); for(auto itr=hs.begin(); itr != hs.end(); itr++){ cout << itr->second << endl; } return 0; }