An $$$n \times m$$$ matrix $$$M$$$ of positive integers is called Anti XOR-Monge if it satisfies the following condition.
Here, $$$\oplus$$$ denotes the bitwise XOR operator.
Given two integers $$$n$$$ and $$$m$$$ ($$$2 \le n,m \le 30$$$), construct an $$$n \times m$$$ matrix $$$A$$$ of positive integers that satisfies the following conditions.
It can be shown that a solution always exists under the problem's constraints.
The first and only line contains two integers $$$n$$$ and $$$m$$$ ($$$2 \le n,m \le 30$$$).
Output $$$n$$$ lines. On the $$$i$$$-th line, output the $$$i$$$-th row of the constructed matrix $$$A$$$.
3 3
3 5 29 14 24 25 21 26 17
In the example output, the condition is satisfied as follows when $$$i=1$$$, $$$j=2$$$, $$$k=1$$$, $$$l=2$$$.