#include using namespace std; int n,m,x,b[205][205],a[2005][2005]; int main() { int i,j; cin>>n>>m>>x; for (i=0;i>b[i][j]; for (i=0;i