n = int(input()) D = list(map(int, input().split())) D.sort() Ans = [chr(ord("A") + D[i] % 26) for i in range(n)] print("".join(Ans))