#include using namespace std; #include using mint = atcoder::modint998244353; #define int long long signed main() { int n; string s; cin >> n >> s; vector c(26,0); for(int i = 0; i < n; i++) { int f = s[i]-'A'; c[f]++; } for(int i = 0; i < 26; i++) cout << c[i]; cout << endl; }