h,w,n,k=map(int,input().split()) #マスの総数 s=h*w if (h*w-1)%n+1==k: print("YES") else: print("NO")