H,W,N,K=map(int,input().split()) cell=H*W game=1 while game: for i in range(1,N+1): cell-=1 if cell==0: print(('NO','YES')[i==K]) game=0 break #print(H,W,N,K)