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