

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

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

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