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