import Foundation

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

let A = readInt()
let B = readInt()
let c = Int(readLine()!)!
if(A[1] <= B[1]){
  print("NO")
}else if(abs(B[0] - A[0]) % (B[1] - A[1]) == 0){
  if(abs(B[0] - A[0]) / (B[1] - A[1]) < c){
    print("YES")
  }else{
    print("NO")
  }
}else{
  print("NO")
}