#include <bits/stdc++.h>
using namespace std;
int l, r, x, y;
double k;
bool equ(double a, double b) { return fabs(a - b) < 1e-10; }
int main() {
  cin >> l >> r >> x >> y >> k;
  for (int a = l; a <= r; a++) {
    if (equ((double)floor((double)a / k), a / k) && x <= (a / k) &&
        (a / k) <= y) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
  return 0;
}
