import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S = sc.next(); char c = 'A'; String answer = ""; for(int i = 0; i < 26; i++) { String C = String.valueOf((char)(c + i)); int count = 0; for(int j = 0; j < N; j++) { String s = S.substring(j, j + 1); if(C.equals(s)) { count++; } } answer += count; } System.out.println(answer); } }