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