#include using namespace std; int main() { int N; string S; cin >> N >> S; vector A(26); for (char C : S) A.at(C - 'A')++; for (int i : A) cout << i; cout << endl; }