h,w,x,y=map(int,input().split()) dx=[0,0,1,-1] dy=[1,-1,0,0] a=[list(map(int,input().split())) for i in range(h)] d=[[0]*w for i in range(h)] d[x-1][y-1]=1 hq=[(a[x-1][y-1],x-1,y-1)] t,cnt=0,0 import heapq while hq: p,x,y=heapq.heappop(hq) if cnt>0 and t<=a[x][y]:exit(print("No")) cnt+=1 t+=a[x][y] for i in range(4): if 0<=x+dx[i]