#include <bits/stdc++.h>
using namespace std;
int main() {
  int l, r, x, y;
  float k;
  int f = 0;
  cin >> l >> r >> x >> y >> k;
  for (int b = x; b <= y; b++) {
    if (b * k >= l && b * k <= r) {
      if (int(b * k) == b * k) {
        f = 1;
        break;
      }
    }
  }
  if (f == 1)
    cout << "YES";
  else
    cout << "NO";
  return 0;
}
