#D10754. Sum Matrix

    ID: 8936 Type: Default 2000ms 536MiB

Sum Matrix

Sum Matrix

You received a card at a banquet. On the card, a matrix of NN rows and MM columns and two integers KK and SS are written. All the elements in the matrix are integers, and an integer at the ii-th row from the top and the jj-th column from the left is denoted by Ai,jA_{i,j}.

You can select up to KK elements from the matrix and invert the sign of the elements. If you can make a matrix such that there is no vertical or horizontal contiguous subsequence whose sum is greater than SS, you can exchange your card for a prize.

Your task is to determine if you can exchange a given card for a prize.

Input

The input consists of a single test case of the following form.

NN MM KK SS A1,1A_{1,1} A1,2A_{1,2} ... A1,MA_{1,M} : AN,1A_{N,1} AN,2A_{N,2} ... AN,MA_{N,M}

The first line consists of four integers N,M,KN, M, K and SS ($1 \leq N, M \leq 10, 1 \leq K \leq 5, 1 \leq S \leq 10^6$). The following NN lines represent the matrix in your card. The (i+1i+1)-th line consists of MM integers Ai,1,Ai,2,...,Ai,MA_{i,1}, A_{i,2}, ..., A_{i, M} (105Ai,j105-10^5 \leq A_{i,j} \leq 10^5).

Output

If you can exchange your card for a prize, print 'Yes'. Otherwise, print 'No'.

Examples

Input

3 3 2 10 5 3 7 2 6 1 3 4 1

Output

Yes

Input

2 3 1 5 4 8 -2 -2 -5 -3

Output

Yes

Input

2 3 1 5 9 8 -2 -2 -5 -3

Output

No

Input

2 2 3 100 0 0 0 0

Output

Yes

inputFormat

Input

The input consists of a single test case of the following form.

NN MM KK SS A1,1A_{1,1} A1,2A_{1,2} ... A1,MA_{1,M} : AN,1A_{N,1} AN,2A_{N,2} ... AN,MA_{N,M}

The first line consists of four integers N,M,KN, M, K and SS ($1 \leq N, M \leq 10, 1 \leq K \leq 5, 1 \leq S \leq 10^6$). The following NN lines represent the matrix in your card. The (i+1i+1)-th line consists of MM integers Ai,1,Ai,2,...,Ai,MA_{i,1}, A_{i,2}, ..., A_{i, M} (105Ai,j105-10^5 \leq A_{i,j} \leq 10^5).

outputFormat

Output

If you can exchange your card for a prize, print 'Yes'. Otherwise, print 'No'.

Examples

Input

3 3 2 10 5 3 7 2 6 1 3 4 1

Output

Yes

Input

2 3 1 5 4 8 -2 -2 -5 -3

Output

Yes

Input

2 3 1 5 9 8 -2 -2 -5 -3

Output

No

Input

2 2 3 100 0 0 0 0

Output

Yes

样例

2 2 3 100
0 0
0 0
Yes