#include <cctype> #include <cstddef> #include <iostream> #include <bits/stdc++.h> #include <string> #include <unordered_map> using namespace std; int main() { string s; getline(cin, s); char c; cin>>c; unordered_map<char,size_t>mp;...