# Print Matrix

Execution time limit is 1 second

Runtime memory usage limit is 128 megabytes

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

## Input

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.

## Output

Print $r×c$ matrix.

## Examples

Input #1

Answer #1

Input #12

Answer #12

Submissions 10K

Acceptance rate 70%