#include using namespace std; #define rep(i,n) for(int i = 0;i < n;i++) template bool chmin(T &a,T b){ if(a>b){a = b;return true;} return false; } template bool chmax(T &a,T b){ if(a> N >> S; vectorcnt(26,0); for(auto c:S)cnt[c-'A']++; rep(i,26)cout << cnt[i]; cout << endl; }