h,w,n,k = gets.chomp.split.map{ |i| i.to_i } puts (h*w-1)%n == k-1 ? "YES" : "NO"