h,w,n,k=map(int,input().split()) if (h+w-2)%n==k-1: print('YES') else: print('NO')