#include int main(void) { int H,W; long long N,K; scanf("%d%d%lld%lld", &H,&W,&N,&K); if ((H*W-1)%N+1==K) puts("YES"); else puts("NO"); return 0; }