#include #define p(s) cout<<(s)<>H>>W>>N>>K; if(H*W%N==K%N) p("YES"); else p("NO"); return 0; }