c#include <bits/stdc++.h> using namespace std; bool cmp(pair<int, int> A, pair<int, int> B){ return A.first > B.first; } int
#include <bits/stdc++.h> using namespace std; bool cmp(pair<int, int> A, pair<int, int> B){ return A.first > B.first; } int