from heapq import heappush, heappop H, W, Y, X = map(int, input().split()) A = [] for _ in range(H): A.append(list(map(int, input().split()))) def delta(row, col): for dr, dc in [(-1, 0), (1, 0), (0, -1), (0, 1)]: r = row + dr c = col + dc if not (0 <= r < H and 0 <= c < W): continue yield r, c row = Y-1 col = X-1 atk = A[row][col] q = [] used = {(row, col)} for r, c in delta(row, col): heappush(q, (A[r][c], r, c)) used.add((r, c)) while q: a, row, col = heappop(q) if a >= atk: print('No') break atk += a for r, c in delta(row, col): if (r, c) in used: continue heappush(q, (A[r][c], r, c)) used.add((r, c)) else: print('Yes')