import scala.io.StdIn._
object Main extends App {

  val Array(a, v) = readLine().split(" ").map(_.toLong)
  val Array(b, w) = readLine().split(" ").map(_.toLong)
  val t = readInt()

  def solve(): String = {
    for(i <- 0 to t) {
      val positionA = a + i * v
      val positionB = b + i * w
      if(positionA == positionB) return "YES"
    }
    "NO"
  }

  println(solve())

}