import sequtils, strutils const a = ord 'A' l = 26 let n, s = readLine stdin var seq1 = 0.repeat l for c in s: inc seq1[c.ord.pred a] echo join seq1