a = int(input())
lst_1 = []
i = 65 + a
c = 65
while c < 91:
if i >= 91: i = 65 lst_1.append(chr(i)) i += 1 c += 1
print(lst_1)