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