Print Matrix#135

Print Matrix

1 second
128 megabytes
Very easy (≈850)

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).

Input

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.

Output

Print r \times c matrix.

Examples

Example 1

Loading
Loading

Example 12

Loading
Loading