integer*8::H,W,N,K,kban=0 read *, H,W,N,K if(N.ne.K) kban=K if(MOD(H*W,N).eq.kban) then print '(a)', "YES" else print '(a)', "NO" end if end