#include #include #define chmin(x,y) (x) = min((x),(y)) #define chmax(x,y) (x) = max((x),(y)) #define ld long double using namespace std; using namespace atcoder; using ll = long long; using mint = modint998244353; const ll mod = 998244353; // using Graph = vector>>; using Graph = vector>; const vector dx = {1,0,-1,0}, dy = {0,1,0,-1}; int main(){ // input int n; string s; cin >> n >> s; vector v(26); for(int i = 0 ; i < n; i++){ int c = s[i]- 'A'; v[c]++; } for(int i = 0; i < 26; i++) cout << v[i]; cout << endl; // solve // output }