const Main = input => {
  const input2 = input.split('\n');
  const Asinfo = input2[0].split(' ');
  const Bsinfo = input2[1].split(' ');
  const diff = Number(Asinfo[1]) - Number(Bsinfo[1]);
  const sec = (Number(Bsinfo[0]) - Number(Asinfo[0])) / Number(diff);
  console.log(sec)
  if(Number(Asinfo[1]) <= Number(Bsinfo[1]) || !Number(diff) || sec >= Number(input2[2]) ){
    return console.log('NO')
  }
  console.log('YES')
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));