import java.util.Scanner;

public class A 
{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();

        // debugging:
        System.out.println("read value " + n);
        
        scan.nextLine();        // skip to next line after read int

        String message = scan.nextLine();

        // debugging:
        System.out.println("read line of text: " + message);

        String[] phrases = message.split("/");
        
        // debugging:
        for ( String phrase : phrases ) {
            System.out.println("phrase: " + phrase);
        }

        int[] first = new int[123];
        int[] second = new int[123];

        for ( char ch : phrases[0].toCharArray() ) {
            // debugging:
            System.out.println("ch: " + ch);
            System.out.println("(int) ch: " + (int) ch);

            first[ ch ]++;
        }

        // debugging:
        System.out.println("first[]:");
        for ( int i = 0; i < first.length; i++ ) {
            System.out.println(first[i] + " at index " + i);
        }

    }
}
