#include <bits/stdc++.h>
using namespace std;
const int N = 11234567;
int e[N], c[N];
int main(void) {
  ios_base::sync_with_stdio(false);
  int l, r, x, y, k;
  cin >> l >> r >> x >> y >> k;
  bool ok = 0;
  for (int i = l; i <= r; i++) {
    int test = i / k;
    if (test >= x and test <= y and i % k == 0) ok = 1;
  }
  if (ok)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
