/*==========================================================================*/ /* auther: Dev1ce created: 09.04.2024 18:38:35 */ /*--------------------------------------------------------------------------*/ #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; string s; cin >> n >> s; int cnt[28] = {}; for (int i = 0; i < n; i++) { ++cnt[s[i] - 'A']; } for (char i = 'A'; i <= 'Z'; i++) { cout << cnt[i - 'A']; } cout << '\n'; return 0; }