#include #include using namespace std; using namespace atcoder; using ll = long long; #define rep(i, s, n) for(int i = s; i < (int)(n); i++) #define repr(i, s, n) for(int i = ((int)(n) - 1); i >= s; i--) #define sz(x) ((int)(x).size()) #define inf_int (int) (1e9 + 7) #define inf_ll (ll) (1e+18) int main(){ int n; cin >> n; string s; cin >> s; vector ct(26, 0); rep(i, 0, n){ ct[s[i] - 'A'] ++; } for(auto x : ct){ cout << x; } cout << endl; }