#include #include using namespace std; using namespace atcoder; typedef long long ll; #define rep(i, n) for (int i = 0; i < n; i++) #define chmin(x, y) x = min(x, y) #define chmax(x, y) x = max(x, y) int main(){ ll n ; cin >> n ; string s ; cin >> s ; map mp ; rep(i,n){ mp[s[i]]++ ; } rep(i,26){ cout << mp['A'+i] ; } cout << endl ; }