Consider a table consisting of $$$h$$$ rows and $$$w$$$ columns. We denote $$$A_{i, j}$$$ to be the number located at the intersection of the $$$i$$$-th row and the $$$j$$$-th column. It is guaranteed that $$$A_{i, j}$$$ are non-negative integers.
One may apply a sequence of zero or more changes to the table. Each change should be one of the following:
Determine whether it is possible to perform such operations that after applying them to the table, the sum of its elements becomes equal to $$$s$$$.
The first line of input contains two integers $$$h$$$ and $$$w$$$ — the number of rows and columns of the table $$$A$$$ respectively ($$$1 \leq h, w \leq 15$$$).
Each of the next $$$h$$$ lines contains $$$w$$$ integers — elements of table $$$A$$$ ($$$0 \leq A_{i,j} \leq 10^{9}$$$).
The last line of input contains a single integer $$$s$$$ — the desired sum ($$$1 \leq s \leq 10^{18}$$$).
If it is impossible to get a table with a sum of elements equal to $$$s$$$ from the initial one, print «NO».
Otherwise:
There are 7 subtasks. The score and additional constraints of each subtask are as follows:
| |c|c|} Subtask | Points | Additional Constraints | Dependencies | Feedbac policy |
| 1 | 17 | $$$h = 1$$$ | ICPC | |
| 2 | 6 | the sum of elements in $$$i$$$-th row does not exceed $$$i$$$ | ICPC | |
| 3 | 10 | $$$h \leq 3$$$ | 1 | ICPC |
| 4 | 13 | $$$h,w \leq 10$$$ | ICPC | |
| 5 | 13 | $$$h, w \leq 12$$$ | 4 | ICPC |
| 6 | 12 | $$$a_{i, j} \leq 6$$$ | ICPC | |
| 7 | 29 | There are no additional constraints | 1–6 | ICPC |
3 3 1 2 3 2 3 1 3 1 2 8
YES 2 1 3 2 3
2 3 2 2 2 2 2 2 5
NO
5 5 1 2 1 4 5 2 5 4 1 2 4 2 4 3 1 5 5 3 2 4 1 2 4 5 2 34
YES 3 1 4 1 5 2 1
In sample input 1, the initial table is as follows:
By erasing the third row and the third column, one can get a table with a sum of elements $$$8$$$:
In sample input 2, it can be shown that it is impossible to get a table with the desired sum of elements from the initial one.
In sample input 3, the initial table is as follows:
By erasing rows four and five and row one, we can get a table with a sum of elements $$$34$$$:
| Name |
|---|


