str = gets.split hw = str[0].to_i * str[1].to_i n = str[2].to_i k = str[3].to_i if (n - 1) % hw == k - 1 puts "YES" else puts "NO" end