#include <bits/stdc++.h>
using namespace std;
int main() {
  long long l, r;
  scanf("%lld %lld", &l, &r);
  long long x, y;
  scanf("%lld %lld", &x, &y);
  long long k;
  scanf("%lld", &k);
  long long int kx = k * x;
  int left = -1;
  long long int size = y - x + 1;
  int right = size;
  while (right - left > 1) {
    long long int middle = (left + right) / 2;
    if (kx + middle * k <= r)
      left = middle;
    else
      right = middle;
  }
  long long int v = k * (x + left);
  bool is_possible = left != -1 && v <= r && v >= l;
  left = -1;
  right = size;
  while (right - left > 1) {
    long long int middle = (left + right) / 2;
    if (kx + middle * k >= l)
      right = middle;
    else
      left = middle;
  }
  v = k * (x + right);
  is_possible |= right != size && v >= l && v <= r;
  cout << (is_possible ? "YES" : "NO") << endl;
  return 0;
}
