Woburn Challenge 2018-19 Round 3 - Junior Division

Jessie, James, and Meowth, members of the honourable Team Rocket, are
big fans of the letter R
. It's just such an awe-inspiring letter! It
only makes sense that it should feature prominently on all of their
uniforms and equipment.
James is generally tasked with painting the letter R
onto Team
Rocket's various belongings. Sometimes he needs to paint small R
's,
and other times enormous ones. As such, he'd like to get in some extra
practice with painting the most beautifully perfect R
's that he can.
Today, James would like to paint an R
of size #
if that cell should be painted, or .
if it should be left unpainted.
The top portion of an R
of size
Help James visualize what a perfect R
of size
Input Specification
The first and only line of input consists of a single integer,
Output Specification
Output a grid with R
of size
Sample Input 1
5
Sample Output 1
####.
#...#
#...#
#...#
####.
##...
#.#..
#..#.
#...#
Sample Input 2
3
Sample Output 2
##.
#.#
##.
##.
#.#
Comments