#include<stdio.h>
int main(){
  long a,v,b,w,t;
  scanf("%ld %ld",&a,&v);
  scanf("%ld %ld",&b,&w);
  scanf("%ld",&t);
  for(long i=0;i<=t;i++) {
    if (a+v*t=b+w*t) {
      printf("YES");
      break;
    }else{
      printf("NO");
    }
  return 0;
}