#include <bits/stdc++.h>
using namespace std;
const int INF = 2000 * 1000 * 1000;
const long long LLINF = 1ll << 53;
template <class T>
void relaxmax(T& r, T v) {
  r = max(r, v);
}
template <class T>
void relaxmin(T& r, T v) {
  r = min(r, v);
}
int main() {
  int l, r, x, y;
  double k;
  scanf("%d%d%d%d%lf", &l, &r, &x, &y, &k);
  bool ans = false;
  for (int b = x; b <= y; ++b) {
    double a = b * k;
    if (a == int(a) && l <= a && a <= r) ans = true;
  }
  puts(ans ? "YES" : "NO");
  return 0;
}
