#include <bits/stdc++.h>
using namespace std;
const int maxn = 500 + 7, INF = 0x3f3f3f3f, mod = 1e9 + 7;
long long l, r, x, y, k;
int main() {
  scanf("%ld %ld %ld %ld %ld", &l, &r, &x, &y, &k);
  if (l > r) swap(l, r);
  if (x > y) swap(x, y);
  for (long long i = x; i <= y; ++i) {
    long long t = i * k;
    if (t >= l && t <= r) {
      puts("YES");
      return 0;
    }
  }
  puts("NO");
  return 0;
}
