#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1.0);
const double eps = 1e-8;
const long long N = 10001;
long long T, n, m, i, j, l, r, x, y, f = 0, t, ans = 0, cint;
double k, cur;
int main() {
  scanf("%lld%lld%lld%lld%lf", &l, &r, &x, &y, &k);
  for (i = x; i <= y; i++) {
    cur = ((double)i) * k;
    cint = (long long)(cur + 0.5);
    if (cint >= l && cint <= r && fabs(cur - (double)cint) <= eps) f = 1;
  }
  if (f)
    printf("YES");
  else
    printf("NO");
  return 0;
}
