import sys int1 = lambda x: int(x) - 1 # input = lambda: sys.stdin.buffer.readline() input = lambda: sys.stdin.readline().rstrip() ii = lambda: int(input()) i1 = lambda: int1(input()) mi = lambda: map(int, input().split()) mi1 = lambda: map(int1, input().split()) li = lambda: list(mi()) li1 = lambda: list(mi1()) lli = lambda n: [li() for _ in range(n)] INF = float("inf") mod = int(1e9 + 7) # mod = 998244353 from heapq import heapify, heappop, heappush h, w, y, x = mi() y, x = y - 1, x - 1 a = [li() for _ in range(h)] cur = a[y][x] a[y][x] = 0 dy = [-1, 0, 1, 0] dx = [0, -1, 0, 1] que = [] heapify(que) for i in range(4): ny, nx = y + dy[i], x + dx[i] if 0 <= ny < h and 0 <= nx < w: heappush(que, (a[ny][nx], ny * w + nx)) a[ny][nx] = 0 while que: v, tmp = heappop(que) y, x = tmp // w, tmp % w if cur <= v: print("No") exit(0) cur += v for i in range(4): ny, nx = y + dy[i], x + dx[i] if 0 <= ny < h and 0 <= nx < w and a[ny][nx]: heappush(que, (a[ny][nx], ny * w + nx)) a[ny][nx] = 0 print("Yes")