#include <iostream> #include <vector> using namespace std; int main() { string s; int min=1001; int count = 1; char res ; vector<int> store(26,0); getline(cin,s); for(int i = 0;i<s.size();i++){ if(store[s[i]-'a']==0){ store[s[i]-'...