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