#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int l, r, x, y, k, count = 0;
  cin >> l >> r >> x >> y >> k;
  for (long long int i = l; i <= r; i++) {
    if (i % k == 0 && (i / k >= x && i / k <= y)) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
