#include using namespace std; using ll = long long; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); string S; cin>>S; vector C(1000,0); for(char c:S)C[c]++; cout<