Score : $200$ points
Tiles are aligned in $N$ horizontal rows and $N$ vertical columns. Each tile has a grid with $A$ horizontal rows and $B$ vertical columns. On the whole, the tiles form a grid $X$ with $(A\times N)$ horizontal rows and $(B\times N)$ vertical columns.
For $1\leq i,j \leq N$, Tile $(i,j)$ denotes the tile at the $i$-th row from the top and the $j$-th column from the left.
Each square of $X$ is painted as follows.
Print the grid $X$ in the format specified in the Output section.
Input is given from Standard Input in the following format:
$N$ $A$ $B$
Print $(A\times N)$ strings $S_1,\ldots,S_{A\times N}$ that satisfy the following condition, with newlines in between.
.
and #
..
if the square at the $i$-th row from the top and $j$-th column from the left in grid $X$ is painted white; the character is #
if the square is painted black.4 3 2
..##..## ..##..## ..##..## ##..##.. ##..##.. ##..##.. ..##..## ..##..## ..##..## ##..##.. ##..##.. ##..##..
5 1 5
.....#####.....#####..... #####.....#####.....##### .....#####.....#####..... #####.....#####.....##### .....#####.....#####.....
4 4 1
.#.# .#.# .#.# .#.# #.#. #.#. #.#. #.#. .#.# .#.# .#.# .#.# #.#. #.#. #.#. #.#.
1 4 4
.... .... .... ....