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