#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  double l, r, x, y, k;
  while (cin >> l >> r >> x >> y >> k) {
    int flag = 0;
    for (double i = x; i <= y; i++) {
      double an = k * i;
      if (fabs(an - (long long)an) < 1e-9 && an >= l && an <= r) flag = 1;
    }
    if (flag)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
}
