#include using namespace std; signed main(){ map m; string s;cin>>s; for(char p:s)m[p]++; cout<