PROGRAMMING:Error detection
###Task description
Given n * n matrix composed of 0 and 1, if the number of 1 in each row and column of the matrix is even, then the condition is considered to be satisfied.
Your task is to check whether the matrix meets the conditions, or whether it meets the conditions when only one element of the matrix is changed.
The operation of "change matrix element" is defined as 0 becomes 1 or 1 becomes 0.
###Input format:
Input n + 1 row, the size of the first row matrix is n (0 < n < 100), and the elements of each row of the following n row matrix are separated by a space.
###Output format:
If the matrix meets the conditions, the output is OK;
If the condition can be met by changing only one matrix element, the row number and column number of the element to be changed will be output and separated by a space.
If not, output corrupt.
###Input example:
```in
four
1 0 1 0
0 0 0 0
1 1 1 1
0 1 0 1
```
###Output example:
```out
OK
```
###Input example:
```in
four
1 0 1 0
0 0 1 0
1 1 1 1
0 1 0 1
```
###Output example:
```out
2 3
```
###Input example:
```in
four
1 0 1 0
0 1 1 0
1 1 1 1
0 1 0 1
```
###Output example:
```out
Corrupt
```
###Title Source
This topic is selected from openjudge website http://noi.openjudge.cn/ch0108/04/
answer:If there is no answer, please comment
Given n * n matrix composed of 0 and 1, if the number of 1 in each row and column of the matrix is even, then the condition is considered to be satisfied.
Your task is to check whether the matrix meets the conditions, or whether it meets the conditions when only one element of the matrix is changed.
The operation of "change matrix element" is defined as 0 becomes 1 or 1 becomes 0.
###Input format:
Input n + 1 row, the size of the first row matrix is n (0 < n < 100), and the elements of each row of the following n row matrix are separated by a space.
###Output format:
If the matrix meets the conditions, the output is OK;
If the condition can be met by changing only one matrix element, the row number and column number of the element to be changed will be output and separated by a space.
If not, output corrupt.
###Input example:
```in
four
1 0 1 0
0 0 0 0
1 1 1 1
0 1 0 1
```
###Output example:
```out
OK
```
###Input example:
```in
four
1 0 1 0
0 0 1 0
1 1 1 1
0 1 0 1
```
###Output example:
```out
2 3
```
###Input example:
```in
four
1 0 1 0
0 1 1 0
1 1 1 1
0 1 0 1
```
###Output example:
```out
Corrupt
```
###Title Source
This topic is selected from openjudge website http://noi.openjudge.cn/ch0108/04/
answer:If there is no answer, please comment