const input = require("fs").readFileSync("/dev/stdin", "utf8")
let cin = input.split(/ |\n/), cid = 0
const next = () => cin[cid++]
const nexts = (n) => cin.slice(cid, cid+=n).map(i=>parseInt(i))

const [A, V, B, W, T] = nexts(5)

// firstA = A
// firstB = B
// endA = A + T * V
// endB = B + T * W

for (let i = 1; i <= T; i++) {
    if (A + i * V === B + i * W) {
            return console.log('YES')
    }
}
console.log('NO')
// firstA < firstB && endA >= endB ? console.log('YES') : console.log('NO')
