#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 = 0; i <= time; i++){
    //printf("%d %d\n", axisa, axisb);
    if(axisa < axisb) {
      axisa += movea;
      axisb += moveb;
    } else if (axisa > axisb) { 
      axisa -= movea;
      axisb -= moveb;
    } else if (axisa == axisb ) {
      printf("YES\n");
      judge++;
      break;
    }
  }
  
  if(judge == 0){
    printf("NO\n");
  }*/
  
  //printf("%d %d\n",abs(axisa - axisb), (moveb - movea) * time);
  /*if(abs(axisa - axisb) + (moveb - movea) * time <= 0){
  	printf("YES\n");
  } else {
    printf("NO\n");
  }*/
  
  for(int i = 0; i <= time; i++){
    if(abs(axisa - axisb) + (moveb - movea) * i == 0){
      printf("YES\n");
      judge++;
      break;
  	}
  }
  
  if(judge == 0){
    printf("NO\n");
  }
  
  return 0;
}