fun main() {
    val (a, v) = readLine()!!.split(" ").map(String::toLong)
    val (b, w) = readLine()!!.split(" ").map(String::toLong)
    val t = readLine()!!.toLong()
    if (a == b) {
        println("YES")
        return
    }
    val vec = if (a < b) 1 else -1
    val at = a + v * t * vec
    val bt = b + w * t * vec

    println(
        if (at == bt || a < b && at > bt || a > b && at < bt) {
            "YES"
        } else {
            "NO"
        }
    )
}
