H,W,N,K = gets.split.map(&:to_i) puts (H * W + N - 1) % N == K - 1 ? :YES : :NO