N = int(input()) D = list(map(int, input().split())) D.sort() for d in D: print(chr(d%26 + 65), end="") print()