n = int(input()) ls = list(input()) ans = [0] * 26 for i in range(n): a = ord(ls[i]) - 65 ls[a] += 1 for i in ls: print(i,end="") print("")