#include <iostream> #include <unordered_map> #include <vector> #include <algorithm> using namespace std; int main() { unordered_map<string, int> dict; string word; while(cin >> word) { dict[word]++; } using mapPtr = unordered_map<string, int>::iterator; vect...