N = int(input()) D = sorted(map(int, input().split())) s = "" for x in D: s += chr(x%26+ord('A')) print(s)