#include #ifdef LOCAL #include "./debug.cpp" #else #define debug(...) #define print_line #endif using namespace std; using ll = long long; int main() { int N; cin >> N; string S; cin >> S; vector cnt(26, 0); for (int i = 0; i < N; i++) { cnt[S[i] - 'A']++; } string ans = ""; for (int i = 0; i < 26; i++) { ans += to_string(cnt[i]); } cout << ans << endl; }