You are given two integers and . Construct such pairs from sets A = \{0, 1, 2, \ldots, n - 1\} and B = \{m, \ldots, m + n - 1\} so that all pairs (x \in A and y \in B) satisfy the condition x \& y = x (Here stands for the bitwise AND operation)
Two integers and (1 \leq n \leq m, n + m \leq 10^6).
Print lines. In the line print two integers x_i and y_i. x_i must be in and y_i in . Each of these pairs that you output must be a matching pair, as specified in the problem statement.
0 \leq x_i \leq n - 1 and for any i \neq j should be x_i \neq x_j
m \leq y_i \leq m + n - 1 and for any i \neq j should be y_i \neq y_j
Example 1
Example 2
It can be proved that a solution always exists.