#include <bits/stdc++.h>
using namespace std;
int n, m, vet[303030];
int main() {
  int l, r, first, second, k;
  scanf("%d%d%d%d%d", &l, &r, &first, &second, &k);
  int b = 1;
  while (1) {
    int a = b * k;
    if (a > r) break;
    if (a >= l && first <= b && b <= second) {
      puts("YES");
      return 0;
    }
    b++;
  }
  puts("NO");
}
