#include <bits/stdc++.h> using namespace std; const int N = 30; int cnt[N]; int main(){ string str; while (cin >> str){ for (int i=0; i<str.size(); i++){ if (str[i] >= 'A' && str[i] <= 'Z') cnt[str[i] - 'A'] ++; } for (int i=0; i<26; i++){ cout << char('A' + i)<< ":" << cnt[i] << endl; } } return 0; }