#include <iostream> #include <map> using namespace std; int main() { string str; while(cin >> str) { map<char, int> cnt; for(int i = 0;i < 26; i++) { cnt[char(int('A' + i))] = 0; } for(int i = 0;i < str.length(); i++) { if(str[i] >= 'A' && str[i] <= 'Z'){ cnt[str[i]]++; } } for(auto iter = cnt.begin(); iter != cnt.end(); iter++){ cout << iter->first << ':' << iter->second << endl; } } return 0; }