Guess Table

아직 제출이 없습니다시간 제한2초메모리 제한1024 MB

문제

Jury has created a n×mn \times m matrix AA consisting of zeroes and ones. You should guess it.

In order to do that you can send no more than 200200 queries. At the end you should print the desired matrix.

Each query is described by the matrix BB of size a×ba\times b (1an,1bm1\le a\le n, 1\le b\le m) consisting of zeroes, ones and questions. The answer to the query is 11 if the matrix AA contains continuous submatrix that corresponds to the given pattern BB. Otherwise the answer will be equal to 00.

Formally the answer will be equal to 11 if and only if exists some values (i,j)(i, j) (1ina+1,1jmb+11 \le i \le n-a+1, 1 \le j \le m-b+1), so for each (x,y)(x, y) (1xa,1yb1\le x\le a, 1\le y\le b) B_xyB\_{xy} is a question or B_xy=A_i+x1,j+y1B\_{xy}=A\_{i+x-1, j+y-1}.

Also there is another restriction for the query matrix BB: there should be no row and no column fully consisting of questions.

Note the problem is interactive, so you should flush your output after each query and at the end of the guess. To do that use function fflush(stdout) in C++ language and PrintWriter.flush() in Java language.

입력

You are given two integers nn and mm (1n,m131 \le n,m \le 13) --- the size of the matrix to guess.

출력

At the end you should print a line with a string "Answer:" (without quotes) on the first line. After that print nn lines with mm symbols "0" and "1" --- the desired matrix. Don't forget to flush you output after that.