input() a=sorted(map(int,input().split())) print(''.join([string.ascii_uppercase[i%26] for i in a]))