DWITE Online Computer Programming Contest
December 2008
Problem 1
ASCII Rhombus

In geometry, a rhombus is a four sided polygon, where every side is the same length. Technically speaking, a square is a special case of a rhombus; but the shape is more commonly recognized as the diamond suite on playing cards.

Lets draw some!

The input file DATA1.txt will contain 5 lines, odd integers 1 <= N <= 7 -- the height of a desired rhombus.

The output file OUT1.txt will contain 5 rhombi, drawn using pound signs (#) and periods (.) Refer to sample input for the desired shape and format.

Sample Input:
3
5
1
1
1
		        
Sample Output:
.#.
###
.#.
..#..
.###.
#####
.###.
..#..
#
#
#