Vanya dreams of standing on a checkered field of size n \times m, and he wants to visit every cell of this field exactly once.
Vanya can start in the center of any cell and jump from one cell to another. After each jump, he lands in the center of the new cell.
While Vanya can jump from any cell to any other, there is a catch. After each jump, he must turn strictly to the left. Specifically, for any three consecutive cells that Vanya visits, the following condition must be satisfied: if you look from the center of the first cell towards the center of the second cell, then the center of the third cell must lie in the left half-plane, excluding the line itself between the centers of the first and second cells. In particular, the centers of three consecutive cells should not be collinear.
The columns of the field are numbered from left to right from to , and the rows are numbered from bottom to top from to . Help Vanya find a way to visit all the cells, or determine that it is impossible.
The only line contains two integers and —the number of columns and rows (1 \leq n, m \leq 100).
On the first line, print "Yes" if it is possible to visit all the cells in the described manner; otherwise, print "No".
If a solution exists, print n \times m lines. On the -th line, print two integers x_i and y_i — the column number and the row number of the cell Vanya should jump to on the i-th step (1 \leq x_i \leq n, 1 \leq y_i \leq m).

Example 1
Example 2
Explanation for the first test:

Explanation for the second test: