# coding:utf-8 H, W, N, K = map(int, input().split()) c = H-1+W if (c%N==K or N==1): print("YES") else: print("NO")