# your code goes here
n=int(input())
for i in range(n):
	for j in range(i+1):
		print(chr(65+i), end="")
	print()