#include <iostream>
#include<string>
using namespace std;
int main() {
string s;
cin >> s;
int len = s.length();
int F[26];
for(int i=0; i<26; i++){
F[i] = 0;
}
for(int i=0; i<len; i++){
int ind = s[i] - 'a';
F[ind]++;
}
for(int i=0; i<26; i++){
if(F[i] != 0){
char ch = i + 97;
cout << ch << " : " << F[i] << endl;
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZTxzdHJpbmc+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgoKaW50IG1haW4oKSB7CglzdHJpbmcgczsKCWNpbiA+PiBzOwoJaW50IGxlbiA9IHMubGVuZ3RoKCk7CgkKCWludCBGWzI2XTsKCWZvcihpbnQgaT0wOyBpPDI2OyBpKyspewoJCUZbaV0gPSAwOwoJfQoJZm9yKGludCBpPTA7IGk8bGVuOyBpKyspewoJCWludCBpbmQgPSBzW2ldIC0gJ2EnOwoJCUZbaW5kXSsrOwoJfQoJZm9yKGludCBpPTA7IGk8MjY7IGkrKyl7CgkJaWYoRltpXSAhPSAwKXsKCQkJY2hhciBjaCA9IGkgKyA5NzsKCQkJY291dCA8PCBjaCA8PCAiIDogIiA8PCBGW2ldIDw8IGVuZGw7CgkJfQoJfQoJCglyZXR1cm4gMDsKfQ==