Given n \times n matrix — let's call it [1..n] \times [1..n] array. For given values and print the [1..r] \times [1..c] array ( rows and columns of the given array).
First line contains number n~(1 \le n \le 100). Next lines contains the n \times n matrix. The last line contains two integers and c~(1 \le r, c \le n). All numbers in the matrix are no more than by absolute value.
Print r \times c matrix.
Example 1
Example 12