using System; public class Hello { static void Main() { Console.ReadLine(); var s = Console.ReadLine().Trim(); getAns(s); } static void getAns(string s) { var a = new int[26]; foreach (var x in s) a[x - 'A']++; Console.WriteLine(string.Join("", a)); } }