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