#include<iostream> #include<map> #include <string> using namespace std; int main() { string s1; multimap<char, char> mp; getline(cin, s1); &n...