{"raw_statement":[{"iden":"problem statement","content":"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.  \nFor $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.\nEach square of $X$ is painted as follows.\n\n*   Each tile is either a **white tile** or a **black tile**.\n*   Every square in a white tile is painted white; every square in a black tile is painted black.\n*   Tile $(1,1)$ is a white tile.\n*   Two tiles sharing a side have different colors. Here, Tile $(a,b)$ and Tile $(c,d)$ are said to be sharing a side if and only if $|a-c|+|b-d|=1$ (where $|x|$ denotes the absolute value of $x$).\n\nPrint the grid $X$ in the format specified in the Output section."},{"iden":"constraints","content":"*   $1 \\leq N,A,B \\leq 10$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$ $A$ $B$"},{"iden":"sample input 1","content":"4 3 2"},{"iden":"sample output 1","content":"..##..##\n..##..##\n..##..##\n##..##..\n##..##..\n##..##..\n..##..##\n..##..##\n..##..##\n##..##..\n##..##..\n##..##.."},{"iden":"sample input 2","content":"5 1 5"},{"iden":"sample output 2","content":".....#####.....#####.....\n#####.....#####.....#####\n.....#####.....#####.....\n#####.....#####.....#####\n.....#####.....#####....."},{"iden":"sample input 3","content":"4 4 1"},{"iden":"sample output 3","content":".#.#\n.#.#\n.#.#\n.#.#\n#.#.\n#.#.\n#.#.\n#.#.\n.#.#\n.#.#\n.#.#\n.#.#\n#.#.\n#.#.\n#.#.\n#.#."},{"iden":"sample input 4","content":"1 4 4"},{"iden":"sample output 4","content":"....\n....\n....\n...."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}