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