


func readInt() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
}

func main() {
    let A = readInt()
    let B = readInt()
    let C = Int(readLine()!)!

    let a = A[0]
    let W = A[1]
    let b = B[0]
    let V = B[1]
    let c = C
    var answer = true
    if V >= W{
        answer = false
    }
    let temp = (W - V) * c
    if (b - a) >= temp{
        answer = false
    }
    print(answer)
}

main()
