Vasya wants to print a pyramid of a given symbol with height on the printer. Write a program to help him do this, ensuring that the program is "economically viable", i.e., it should print as few characters as possible.
Examples of pyramids are shown in the sample input and output. For clarity, spaces used for formatting are replaced by dots in the examples.
The only line contains the symbol to use for printing the pyramid, followed by a space and a natural number (h \leq 50), which is the height of the pyramid.
Print the total number of printed characters in the first line, and the pyramid itself below.
Example 1
Example 2