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