시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 1024 MB13101076.923%

문제

The immune system of Sponge Bob is a rectangle $n\times m$ consisting of immune cells. Sponge Bob doesn't want to go to school tomorrow, so he needs to get sick.

In order to get sick he is ready to infect some of his immune cells with the ARVI virus. After initial infection, the virus propagation process takes place: every millisecond all healthy cells which have two or more infected neighbors become infected, and nothing happens with already infected cells. Here we consider two cells as neighbors if they share an edge. Sponge Bob will get sick only if all his immune cells will be infected. Since the infecting immune cells is quite painful, Sponge Bob wants to minimize the number of initially infected cells.

Find and output any example of the initial infection with the minimum possible number of infected cells, which leads to Sponge Bob's illness.

입력

The single line contains two integers $n$ and $m$ ($1\leq n, m\leq 10^3$) --- the size of Sponge Bob's immune system.

출력

Print a description of any initial infection with the minimum possible number of infected cells, which leads to Sponge Bob's illness. Output must contain $n$ lines of $m$ characters: $1$ if the corresponding cell of the immune system is initially infected, and $0$ otherwise. Do not separate the characters with spaces or other delimiters.

예제 입력 1

1 3

예제 출력 1

101

예제 입력 2

2 1

예제 출력 2

1
1