#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-7;
const double pi = acos(-1);
inline int dcmp(double x) {
  if (x < -eps) return -1;
  if (x > eps) return 1;
  return 0;
}
int main() {
  long long l, r, x, y, k;
  while (cin >> l >> r >> x >> y >> k) {
    bool f = 0;
    for (long long i = x; i <= y; ++i) {
      long long v = i * k;
      if (l <= v && v <= r) {
        f = 1;
        break;
      }
    }
    puts(f ? "YES" : "NO");
  }
}
