#C1346. Gift Codes Generation
Gift Codes Generation
Gift Codes Generation
You are given a positive integer (N) (with (1 \le N \le 26)) representing the number of children. For each child, a gift code is generated by concatenating the first (i) uppercase English letters for the (i)th child. For example, if (N = 3), then the gift codes are: A
, AB
, and ABC
. Your task is to write a program that reads (N) from standard input and prints the gift codes, one per line, to standard output.
inputFormat
The input contains a single integer (N) on a line.
outputFormat
Output (N) lines, where the (i)th line contains the gift code for the (i)th child. The gift code for a child is the concatenation of the first (i) uppercase letters of the English alphabet.## sample
1
A
</p>