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