h,w,n,k=gets.split.map(&:to_i) puts ((h*w)%n==k-1) ? "NO" : "YES"