and the first sample input isEach test case begins with a line containing 4 integers m, n, k, t
...
The following n lines each contains m integers
...
3
4 6 2 5 ----------------> (m, n, k, t)
1 1 1 5 4 1 4 5 3 3
1 2 1 2 6 1 3 2 1 3 6 1 4 3 1
3 2 6 1 3 5 ------------> (m lines each contains n integers)
2 1 7 4 4 6
2 3 1 4 3 4
4 3 4 3 2 3