#include #include #include #include #include int main(){ std::vector > heights(3); int input; std::cin >> input; heights[0]=std::make_pair(input,'A'); std::cin >> input; heights[1]=std::make_pair(input,'B'); std::cin >> input; heights[2]=std::make_pair(input,'C'); std::sort(heights.begin(),heights.end()); std::cout << heights[2].second << std::endl; std::cout << heights[1].second << std::endl; std::cout << heights[0].second << std::endl; }