#include <iostream>
#include <string>
using namespace std;
int main() {
int i, f;
string t;
cin >> i >> f;
cin.ignore(); // Ignorar el salto de línea
getline(cin, t);
if (i < 0 || f < 0 || i >= t.size() || f >= t.size()) {
cerr << endl;
return 1;
}
int c[26] = {};
for (int j = i; j <= f && j < t.size(); j++) {
char l = tolower(t[j]);
if (l >= 'a' && l <= 'z') {
c[l - 'a']++;
}
}
for (char l = 'a'; l <= 'z'; l++) {
cout << l << ": " << c[l - 'a'] << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewogICAgaW50IGksIGY7CiAgICBzdHJpbmcgdDsKICAgIGNpbiA+PiBpID4+IGY7CiAgICBjaW4uaWdub3JlKCk7IC8vIElnbm9yYXIgZWwgc2FsdG8gZGUgbMOtbmVhCiAgICAKICAgIGdldGxpbmUoY2luLCB0KTsKICAgIGlmIChpIDwgMCB8fCBmIDwgMCB8fCBpID49IHQuc2l6ZSgpIHx8IGYgPj0gdC5zaXplKCkpIHsKICAgICAgICBjZXJyIDw8IGVuZGw7CiAgICAgICAgcmV0dXJuIDE7CiAgICB9CgogICAgaW50IGNbMjZdID0ge307CiAgICBmb3IgKGludCBqID0gaTsgaiA8PSBmICYmIGogPCB0LnNpemUoKTsgaisrKSB7CiAgICAgICAgY2hhciBsID0gdG9sb3dlcih0W2pdKTsKICAgICAgICBpZiAobCA+PSAnYScgJiYgbCA8PSAneicpIHsKICAgICAgICAgICAgY1tsIC0gJ2EnXSsrOwogICAgICAgIH0KICAgIH0KICAgIGZvciAoY2hhciBsID0gJ2EnOyBsIDw9ICd6JzsgbCsrKSB7CiAgICAgICAgY291dCA8PCBsIDw8ICI6ICIgPDwgY1tsIC0gJ2EnXSA8PCBlbmRsOwogICAgfQoKICAgIHJldHVybiAwOwp9