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