#include <bits/stdc++.h>
using namespace std;
using LL = int64_t;
int main() {
  LL a, b, x, y, k;
  cin >> a >> b >> x >> y >> k;
  for (LL i = x; i <= y; i++) {
    if (i * k >= a && i * k <= b) {
      cout << "YES\n";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
