#include <iostream>#include <map>#include <unordered_map>#include <vector>using namespace std;int main() { string s; cin >> s; string letter; vector<int> count(s.length(), 0); for (char c : s) { if (letter.find(c) == EOF) letter.push_back(c);...