#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const long long linf = 0x3f3f3f3f3f3f3f3fll;
const long double pi = acos(-1);
const int mod = 1e9 + 7;
bool bb(long long &x1, long long &x2, long long y1, long long y2,
        long long &k) {
  if (y1 == y2) {
    if (y1 * k >= x1 and y1 * k <= x2)
      return true;
    else
      return false;
  }
  long long m = (y1 + y2 + 1) / 2;
  if (m * k >= x1 and m * k <= x2)
    return true;
  else if (m * k > x2)
    return bb(x1, x2, y1, m - 1, k);
  else
    return bb(x1, x2, m, y2, k);
}
int main() {
  long long x1, x2, y1, y2, k;
  cin >> x1 >> x2 >> y1 >> y2 >> k;
  if (bb(x1, x2, y1, y2, k))
    cout << "YES\n";
  else
    cout << "NO\n";
  return 0;
}
