#include <iostream> #include <algorithm> #include <string> #include <cctype> #include <map> #include <vector> using namespace std; struct compare { bool operator()(pair<string, int> p1, pair<string, int> p2) { return p1.second > p2.second; } }; int ...