#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long N = 3e5 + 5;
const long long INF = 1e14;
int main() {
  ios::sync_with_stdio(false);
  long long a, b, c, d, k;
  cin >> a >> b >> c >> d >> k;
  for (long long i = c; i < d + 1; i++) {
    long long r = i * k;
    if (r >= a && r <= b) {
      cout << "YES\n";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
