n=int(input()) d=list(map(int,input().split())) s="" for c in d: s+=chr(c%26+ord("A")) print(s)