#include <stdio.h> int main() { int n = 0; int m= 0; scanf("%d %d",&n,&m); int arr[5][5] = {0}; int i = 0; int x = 0; int y = 0; for(i = 0;i<n;i++) { int j =0; for(j=0;j<m;j++) { scanf("%d ",&arr[i][j]); } } scanf("%d %d",&x,&y); printf("%d",arr[x-1][y-1]); return 0; }