The input consists of several test cases and is terminated by end-of-file.
The first line of each test case contains three integers n, m and k.
The ith of the following n lines contains m integers.
*
*
*
*.
* There is exactly one test case with, m = 10 and k = 20. The other 300 test cases have
,
and
.
For each test case, print an integer which denotes the result.