N = int(input()) D = list(map(int, input().split())) D.sort() ans = list() for i in range(N): ans.append(chr(65+D[i]%26)) print("".join(ans))