Page not loading? Try clicking here.
Placeholder

#5254

Building a bookshelf 1s 4MB

Problems

Carpenter Jun-woo is diligently making a bookshelf today as well.

Make the bookshelf based on the height and width of the ordered bookshelf.


Input

The first line provides the vertical length N and horizontal length M of the bookshelf. (0<N<100, 0<M<100)

In this case, N is odd.


Example

7 5
*****

* *
*****
* *
*****
* *
*****


Source

JUNGOL - klee

You must sign in to write code.