#include int main() { using namespace std; string S; cin >> S >> S; for (char c{'A'}; c <= 'Z'; ++c) cout << ranges::count(S, c); return 0; }