#include using namespace std; using lint = long long; int main() { int n; string s; cin >> n >> s; vector vec(26); for (int i = 0; i < n; i++) { vec[s[i]-'A']++; } for (int i = 0; i < 26; i++) cout << vec[i]; cout << endl; }