text: // Created by ganesh bhandarkar
  #include<stdio.h>
  #include<stdlib.h>
  #include<time.h>
  int main(){
  	srand(time(0));
  	int n,m;scanf("%d %d",&n,&m);
  	int a[n][m];
  	for(int i=0;i<n;i++){
  		for(int j=0;j<m;j++){
  			scanf("%d ",&a[i][j]);
  		}
  	}
  	int key;scanf("%d",&key);
  
  	int i=a[0][0];
  	int 
  	return 0;
  }
  