#include<string> #include<iostream> #include<cstdio> using namespace std; typedef struct { char k; int num; }T; int main() { T arr[26]; string s; char c = 'A'; for (int i = 0; i < 26; i++) { arr[i].k = c + i; arr[i].num = 0; } while (getline(cin, s)) { for (int i = 0; i < s.size(); i++) { if (s[i] <= 'Z' && s[i] >= 'A') { arr[s[i] - c].num++; } } for (int i = 0; i <26; i++) { cout <<arr[i].k << ":" << arr[i].num << endl; } } return 0; }