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