#include <bits/stdc++.h>
using namespace std;
int main(){
    char s;
    int sum_a=0;
    int sum_b=0;
    int sum_c=0;
    int sum_d=0;
    int sum_e=0;
    int sum_f=0;
    int sum_g=0;
    int sum_h=0;
    int sum_i=0;
    int sum_j=0;
    int sum_k=0;
    int sum_l=0;
    int sum_m=0;
    int sum_n=0;
    int sum_o=0;
    int sum_p=0;
    int sum_q=0;
    int sum_r=0;
    int sum_s=0;
    int sum_t=0;
    int sum_u=0;
    int sum_v=0;
    int sum_w=0;
    int sum_x=0;
    int sum_y=0;
    int sum_z=0;
    while(cin >> s) {
        if ( s=='A' || s=='a' ) {
            sum_a = sum_a + 1;
        } else if ( s=='B' || s=='b' ) {
            sum_b = sum_b + 1;
        } else if ( s=='C' || s=='c' ) {
            sum_c = sum_c + 1;
        } else if ( s=='D' || s=='d' ) {
            sum_d = sum_d + 1;
        } else if ( s=='E' || s=='e' ) {
            sum_e = sum_e + 1;
        } else if ( s=='F' || s=='f' ) {
            sum_f = sum_f + 1;
        } else if ( s=='G' || s=='g' ) {
            sum_g = sum_g + 1;
        } else if ( s=='H' || s=='h' ) {
            sum_h = sum_h + 1;
        } else if ( s=='I' || s=='i' ) {
            sum_i = sum_i + 1;
        } else if ( s=='J' || s=='j' ) {
            sum_j = sum_j + 1;
        } else if ( s=='K' || s=='k' ) {
            sum_k = sum_k + 1;
        } else if ( s=='L' || s=='l' ) {
            sum_l = sum_l + 1;
        } else if ( s=='M' || s=='m' ) {
            sum_m = sum_m + 1;
        } else if ( s=='N' || s=='n' ) {
            sum_n = sum_n + 1;
        } else if ( s=='O' || s=='o' ) {
            sum_o = sum_o + 1;
        } else if ( s=='P' || s=='p' ) {
            sum_p = sum_p + 1;
        } else if ( s=='Q' || s=='q' ) {
            sum_q = sum_q + 1;
        } else if ( s=='R' || s=='r' ) {
            sum_r = sum_r + 1;
        } else if ( s=='S' || s=='s' ) {
            sum_s = sum_s + 1;
        } else if ( s=='T' || s=='t' ) {
            sum_t = sum_t + 1;
        } else if ( s=='U' || s=='u' ) {
            sum_u = sum_u + 1;
        } else if ( s=='V' || s=='v' ) {
            sum_v = sum_v + 1;
        } else if ( s=='W' || s=='w' ) {
            sum_w = sum_w + 1;
        } else if ( s=='X' || s=='x' ) {
            sum_x = sum_x + 1;
        } else if ( s=='Y' || s=='y' ) {
            sum_y = sum_y + 1;
        } else if ( s=='Z' || s=='z' ) {
            sum_z = sum_z + 1;
        }
    }
    cout << "a : " << sum_a << endl;
    cout << "b : " << sum_b << endl;
    cout << "c : " << sum_c << endl;
    cout << "d : " << sum_d << endl;
    cout << "e : " << sum_e << endl;
    cout << "f : " << sum_f << endl;
    cout << "g : " << sum_g << endl;
    cout << "h : " << sum_h << endl;
    cout << "i : " << sum_i << endl;
    cout << "j : " << sum_j << endl;
    cout << "k : " << sum_k << endl;
    cout << "l : " << sum_l << endl;
    cout << "m : " << sum_m << endl;
    cout << "n : " << sum_n << endl;
    cout << "o : " << sum_o << endl;
    cout << "p : " << sum_p << endl;
    cout << "q : " << sum_q << endl;
    cout << "r : " << sum_r << endl;
    cout << "s : " << sum_s << endl;
    cout << "t : " << sum_t << endl;
    cout << "u : " << sum_u << endl;
    cout << "v : " << sum_v << endl;
    cout << "w : " << sum_w << endl;
    cout << "x : " << sum_x << endl;
    cout << "y : " << sum_y << endl;
    cout << "z : " << sum_z << endl;
}



Measured memory_bytes: 3084