#include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long int ll; typedef pair Pii; const ll mod = 998244353; int main() { cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; string s; cin >> s; vector appear_count(26); for (auto &x: s) appear_count[x - 'A']++; for (auto &x: appear_count) cout << x; cout << endl; return 0; }