#include <bits/stdc++.h>
using namespace std;
inline long long read() {
  long long x = 0;
  char ch = getchar();
  bool f = 0;
  for (; !isdigit(ch); ch = getchar())
    if (ch == '-') f = 1;
  for (; isdigit(ch); ch = getchar()) x = x * 10 + ch - '0';
  return f ? -x : x;
}
void write(long long x) {
  if (x < 0) putchar('-'), x = -x;
  if (x >= 10) write(x / 10);
  putchar(x % 10 + '0');
}
void writeln(long long x) {
  write(x);
  putchar('\n');
}
void writep(long long x) {
  write(x);
  putchar(' ');
}
long long l, r, L, R, k;
signed main() {
  l = read(), r = read(), L = read(), R = read(), k = read();
  for (long long i = L; i <= R; i++) {
    long long x = i * k;
    if (x >= l && x <= r) {
      puts("YES");
      return 0;
    }
  }
  puts("NO");
  return 0;
}
