#include <iostream>
#include <cstring>
using namespace std;

int main()
{       
        string s;
        struct A {
                char ch;
                int n;
        };

        A a[26] = {
                        {'a', 0},
                        {'b', 0},
                        {'c', 0},
                        {'d', 0},
                        {'e', 0},
                        {'f', 0},
                        {'g', 0},
                        {'h', 0},
                        {'i', 0},
                        {'j', 0},
                        {'k', 0},
                        {'l', 0},
                        {'m', 0},
                        {'n', 0},
                        {'o', 0},
                        {'p', 0},
                        {'q', 0},
                        {'r', 0},
                        {'s', 0},
                        {'t', 0},
                        {'u', 0},
                        {'v', 0},
                        {'w', 0},
                        {'x', 0},
                        {'y', 0},
                        {'z', 0}};
                        
        while(getline(cin, s)) {

        for(int i = 0; i < s.length(); i++) {
                switch(s[i]) {
                        case 'a':
                        case 'A':
                                a[0].n++;
                                break;
                        case 'b':
                        case 'B': 
                                a[1].n++;
                                break;
                        case 'c':
                        case 'C':
                                a[2].n++;
                                break;
                        case 'd':
                        case 'D':
                                a[3].n++;
                                break;
                        case 'e':
                        case 'E':
                                a[4].n++;
                                break;
                        case 'f':
                        case 'F':
                                a[5].n++;
                                break;
                        case 'g':
                        case 'G':
                                a[6].n++;
                                break;
                        case 'h':
                        case 'H':
                                a[7].n++;
                                break;
                        case 'i':
                        case 'I':
                                a[8].n++;
                                break;
                                
                        case 'j':
                        case 'J':
                                a[9].n++;
                                break;
                        case 'k':
                        case 'K':
                                a[10].n++;
                                break;
                        case 'l':
                        case 'L':
                                a[11].n++;
                                break;
                        case 'm':
                        case 'M':
                                a[12].n++;
                                break;
                        case 'n':
                        case 'N':
                                a[13].n++;
                                break;
                        case 'o':
                        case 'O':
                                a[14].n++;
                                break;
                        case 'p':
                        case 'P':
                                a[15].n++;
                                break;
                        case 'q':
                        case 'Q':
                                a[16].n++;
                                break;
                        case 'r':
                        case 'R':
                                a[17].n++;
                                break;
                        case 's':
                        case 'S':
                                a[18].n++;
                                break;
                        case 't':
                        case 'T':
                                a[19].n++;
                                break;
                        case 'u':
                        case 'U':
                                a[20].n++;
                                break;
                        case 'v':
                        case 'V':
                                a[21].n++;
                                break;
                        case 'w':
                        case 'W':
                                a[22].n++;
                                break;
                        case 'x':
                        case 'X':
                                a[23].n++;
                                break;
                        case 'y':
                        case 'Y':
                                a[24].n++;
                                break;
                        case 'z':
                        case 'Z':
                                a[25].n++;
                                break;
                        default :
                                break;
                }
        }
        }

        for(int i = 0; i < 26; i++) {
                cout << a[i].ch << " : " << a[i].n << endl;
        }

        return 0;
}


Measured memory_bytes: 3160