input() print(''.join(chr(x % 26 + 65) for x in sorted(map(int, input().split()))))