In what concerns the continuous evaluation solving exercises grade during the semester, you should submit until 23:59 of October 18th
(this exercise will still be available for submission after that deadline, but without couting towards your grade)
[to understand the context of this problem, you should read the class #02 exercise sheet]


[IP021] Pointy Business

Maybe you can't quite dance like an egiptian, but you can build a Pyramid!

The Problem

Write a program that given an integer n draws an ASCII art pyramid with n lines, each with 2n-1 characters.

The pyramid should be made of '#' and it should be padded with '.'. For instance, if n=4, the pyramid should be the following:

...#...
..###..
.#####.
#######

Input

The input as a single line containing an integer n, the size of the pyramid.

Output

The output should be made of n lines, each with 2n-1 characters, representing the pyramid as described on the problem section.

Constraints

The following limits are guaranteed in all the test cases that will be given to your program:

2 ≤ n ≤ 100       Size of the pyramid

Example Input Example Output
5
....#....
...###...
..#####..
.#######.
#########

Introduction to Programming (CC1024)
DCC/FCUP - University of Porto