The first line contains an integer number T, the number of test cases.
For each test case :
The first line contains three integers $n$, $m$, $h$($1 \leq n , m, h \leq 50$), the size of the warehouse and the limited number of layers.
The following $n$ lines, each contains $m$ integers $a_{ij}$($0 \leq a_{ij} \leq 50$), the initial number of boxes on the $i^{th}$ row $j^{th}$ column.
It's guaranteed that $\sum a_{ij} \leq n \times m \times h$.