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