/* */ #include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for(int i = 0; i < (int)(n); i++) int main(){ int n; cin >> n; string s; cin >> s; string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int cnt; rep(i, alphabet.length()){ cnt = count(s.begin(), s.end(), alphabet[i]); cout << cnt; } cout << endl; return 0; }