#include #include #include #include #include #include #include using namespace std; typedef long long ll; int main(void){ vector> v(3); string s = "ABC"; for (int i = 0; i < 3; i++){ int x; cin >> x; v.push_back({ x, s[i] }); } sort(v.begin(), v.end(), greater>()); for (int i = 0; i < 3; i++){ cout << v[i].second << endl; } }