PROGRAMMING:Print format array
According to the order read in, print the format array as a sample.
For example, 3-order format array:
□(1,1)□(1,2)□(1,3)
□(2,1)□(2,2)□(2,3)
□(3,1)□(3,2)□(3,3)
In the above sample output, () represents a space.
###Input format:
The input data contains no more than 50 positive integers n (1 ≤ n ≤ 9). Enter ^ Z with the keyboard or end the data entry when the end of the file is encountered.
###Output format:
Output format array of order n.
Each element consists of a pair of parentheses and integer pairs in parentheses. There should be a space before the element. The integer pair of each element is the row and column number of the element.
There should be a blank line between each format array, and there should be no blank line between the first and last.
###Input example:
```in
6 3
```
###Output example:
The corresponding output is given here. For example:
```out
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
(2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
(4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
(6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
(1,1) (1,2) (1,3)
(2,1) (2,2) (2,3)
(3,1) (3,2) (3,3)
```
answer:If there is no answer, please comment
For example, 3-order format array:
□(1,1)□(1,2)□(1,3)
□(2,1)□(2,2)□(2,3)
□(3,1)□(3,2)□(3,3)
In the above sample output, () represents a space.
###Input format:
The input data contains no more than 50 positive integers n (1 ≤ n ≤ 9). Enter ^ Z with the keyboard or end the data entry when the end of the file is encountered.
###Output format:
Output format array of order n.
Each element consists of a pair of parentheses and integer pairs in parentheses. There should be a space before the element. The integer pair of each element is the row and column number of the element.
There should be a blank line between each format array, and there should be no blank line between the first and last.
###Input example:
```in
6 3
```
###Output example:
The corresponding output is given here. For example:
```out
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
(2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
(4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
(6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
(1,1) (1,2) (1,3)
(2,1) (2,2) (2,3)
(3,1) (3,2) (3,3)
```
answer:If there is no answer, please comment