#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int l, r, x, y, k, low, high, mid, key;
  cin >> l >> r >> x >> y >> k;
  for (long long int i = x; i <= y; i++) {
    key = k * i;
    low = l;
    high = r;
    while (low <= high) {
      mid = (low + high) / 2;
      if (mid == key) {
        cout << "YES";
        return 0;
      }
      if (mid < key) {
        low = mid + 1;
      }
      if (mid > key) {
        high = mid - 1;
      }
    }
  }
  cout << "NO";
  return 0;
}
