#include using namespace std; using ll = long long; using ld = long double; #ifdef LOCAL #include #else #define debug(...) void(0) #endif #include using namespace atcoder; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; string S; cin >> S; map MP; for(auto s: S) MP[s]++; for(char a = 'A'; a <= 'Z'; a++) { cout << MP[a]; }cout << endl; }