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