The first line contains two integersand
--- the number of employees and the number of the cities.
The second line contains K integers--- the number of employees for
-th city.
The following N lines each containintegers
--- the cost of sending the
-th employee to the
-th city.
One integer represent the minimum cost.