#include <stdio.h>
#include <stdlib.h>
#include <math.h>
 
int main(void){
 
  char str[1000];
  int axisa, axisb, movea, moveb, time, judge = 0;
  fgets(str, sizeof(str), stdin);
  sscanf(str, "%d %d", &axisa, &movea);
  fgets(str, sizeof(str), stdin);
  sscanf(str, "%d %d", &axisb, &moveb);
  fgets(str, sizeof(str), stdin);
  sscanf(str, "%d", &time);
  
  for(int i = 1; i <= time; i++){
    if(axisa + movea >= axisb && axisa - movea <= axisb) {
      printf("YES\n");
      judge++;
      break;
    } else if (axisa < axisb ) {
      axisa += movea;
    } else if (axisa > axisb ) {
      axisa -= movea;
    }
    if(axisa < axisb){
      axisb += moveb;
    } else if(axisa > axisb) {
      axisb -= moveb;
    }
}
  
  if(judge == 0) {
	printf("NO\n");
  }
  
  return 0;
}