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