A company has n clients and must serve all of them by opening k facilities. An open facility serves any number of clients, and every client is assigned to one open facility. There are m candidate locations for the facilities. Serving client j from candidate location i costs a non-negative integer cij, and the costs satisfy a locality condition: for any clients j and j′ and any candidate locations i and i′, cij≤ci′j+ci′j′+cij′ holds.
The company eventually wants the cheapest way to open k facilities. Right now it needs the answer to an earlier question. Decide whether it can open k facilities and assign every client at a total cost of zero.
The first line contains the integers m, n, k, separated by spaces. (1≤m≤100, 1≤n≤100, 1≤k≤m)
Line i of the next m lines contains n non-negative integers, the j-th of which is cij. (0≤cij≤10000)
Print yes if the company can open k facilities and assign every client at a total cost of zero. Otherwise print no.