#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);
int c[26] = {};
for (int j = i; j < t.size() && j <= f; 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+IGY7CiAgICBjaW4uaWdub3JlKCk7IC8vIElnbm9yYXIgZWwgc2FsdG8gZGUgbMOtbmVhCiAgICBnZXRsaW5lKGNpbiwgdCk7CiAgICBpbnQgY1syNl0gPSB7fTsKICAgIGZvciAoaW50IGogPSBpOyBqIDwgdC5zaXplKCkgJiYgaiA8PSBmOyBqKyspIHsKICAgICAgICBjaGFyIGwgPSB0b2xvd2VyKHRbal0pOwogICAgICAgIGlmIChsID49ICdhJyAmJiBsIDw9ICd6JykgY1tsIC0gJ2EnXSsrOwogICAgfQogICAgZm9yIChjaGFyIGwgPSAnYSc7IGwgPD0gJ3onOyBsKyspIGNvdXQgPDwgbCA8PCAiOiAiIDw8IGNbbCAtICdhJ10gPDwgZW5kbDsKICAgIHJldHVybiAwOwp9