#include using namespace std; #define rep(i, n) for(int i=0; i #include int main() { int N; string S; cin >> N >> S; map mp; rep(i, N) { mp[S[i]]++; } string ans = ""; for (char c = 'A'; c <= 'Z'; c++) { ans += to_string(mp[c]); } cout << ans << endl; }