Description
Fabula had to make a sacred fire, but he didn't want to make a sacred fire in name only, so he decided to give the task to someone else. The task of making a sacred fire was given to a blacksmith. The book the blacksmith was given contained the ingredients for the sacred fire, but on the page where the picture of the sacred fire was supposed to be, there was no picture, only a description. The blacksmith is stumped by the description, which doesn't make any sense. Help the blacksmith by reading the description and solving the problem so that he can make the sacred fire!
Input
1. Enter with a number between 1 and 26, or Enter with 'EOF'.
2. Repeat step 1 until the program exits.
Output
1. The alphabets used to draw the sacred fire are used in proportion to the value of the number entered.
2. For example, if the number '1' is entered, only 'A' will be used to draw, and if the number '2' is entered, 'A' and 'B' will be used to draw.
3. The sacred fire is composed of rhombuses and squares with four sides of equal length.
4. The sacred fire has some form that is attached to the lower vertex of the rhombus and one side of the square.
5. Each figure uses the largest alphabet on the outermost side and progressively decreases the alphabet as you move inwards.
6. At the innermost part, alphabet 'A' is used.
7. Each time you print a sacred fire, print a single blank line.
8. if 'EOF' is entered, print 'END.' and exit the program.
HINT
CLICK ME
A
A
B
BAB
B
BBB
BAB
BBB
C
CBC
CBABC
CBC
C
CCCCC
CBBBC
CBABC
CBBBC
CCCCC
END.