#include using namespace std; int main() { int n; int m; int k,u,v; cin >> n >> m >> k; for(int a0 = 0; a0 < n; a0++){ string row; cin >> row; for(int j=0;j> i1 >> j1 >> i2 >> j2; // Write Your Code Here } double g; if(u-1>=0) { if(v-1>=0) if(v+1=0) if(v+1g) cout<