#include <stdio.h>

int main(void){
	long long int l, r, x, y, k;
	scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
	long long int a = 1;
	while(1){
		if(k*a < l || a < x){
			a++;
		} else{
			break;
		}
	}
	long long int flag = 0;
	while(k*a <= r && a <= y){
		if(k*a <= r && a <= y){
			flag = 1;
			break;
		}
		a++;
	}
	if(flag == 1){
		printf("YES\n");
	} else{
		printf("NO\n");
	}
	return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y,k,a,b,c,d,f;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    if(x*k>r||y*k<l)
    {
        printf("NO\n");
    }
    else
    {
        b=l%k;
        if(b==0)
        {
            a=l;
        }
        else
        {
            a=l+(k-b);
        }
        c=r%k;
        d=r-c;
        if(a<=r&&(a/k)>=x&&(a/k)<=y)
        {
            printf("YES\n");
        }
        else if(d>=l&&(d/k)>=x&&(d/k)<=y)
        {
            printf("YES\n");
        }
        else if(d>a)
        {
            printf("YES\n");
        }
        else
        {
            printf("NO\n");
        }
    }
    return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y,k;
    scanf("%I64d%I64d%I64d%I64d%I64d",&l,&r,&x,&y,&k);
    long long int ans,i,j,d;
    d=(y-x)/2;
    ans=0;
    while(x<=y)
    {
        j=x*k;
        if(l<=j && j<=r)
        {
            ans=1;
            break;
        }
        else if((x+d)*k<l){
            x=x+d;
        }
        else if((x+d)*k>r){
            y=x+d;
            d=(y-x)/2;
        }
        x+=1;
    }
    if(ans){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include<stdio.h>
main()
{
    float k,l;
    float e;
    int a,c,f=0,i,j,b,d;
    scanf("%d%d%d%d%f",&a,&b,&c,&d,&e);
    for(i=a,j=c;i<=b&&j<=d;)
    {
        //printf("jfhjdf");
        i=i*1.0;
        k=(float)(i)/j;
        //printf("%f\n",k);
        if(k==e)
        {
            f=1;
            printf("YES");
            break;
        }
        else
        {
            if(k<e)
            {
                i=i+1;
            }
            else
                j++;
        }
    }
    if(f==0)
        printf("NO");
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(){
    double l,r,x,y,k;
    double expe;
    int flag=0,i;
    scanf("%lf%lf%lf%lf%lf",&l,&r,&x,&y,&k);

    for(i=x;i<=y;i++){
        if(l<=i*k && i*k <=r){
            flag = 1;
            break;
        }
    }

    if(flag) printf("YES");
    else printf("NO");

}

#include <stdio.h>

int main (void)
{
	unsigned long long l, r, x, y, k, i;
	scanf("%llu", &l);
	scanf("%llu", &r);
	scanf("%llu", &x);
	scanf("%llu", &y);
	scanf("%llu", &k);
	for (i = x; i <= y; i++)
		if ((k * i >= l) && (k * i <= r)){
			puts("YES");
			return 0;
		}
	puts("NO");
	return 0;
}

#include <stdio.h>

int main (void)
{
	int l, r, x, y, k, i;
	scanf("%d", &l);
	scanf("%d", &r);
	scanf("%d", &x);
	scanf("%d", &y);
	scanf("%d", &k);
	for (i = x; i < y+1; i++)
		if (((long long)k * i >= l) && ((long long)k * i <= r)){
			puts("YES");
			return 0;
		}
	puts("NO");
	return 0;
}

#include <stdio.h>

int main(void){
	long long int l, r, x, y, k;
	scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
	long long int a = 1;
	a = x;
	while(1){
		if(k*a < l || a < x){
			a++;
		} else{
			break;
		}
	}
	long long int flag = 0;
	while(k*a <= r && a <= y){
		if(k*a <= r && a <= y){
			flag = 1;
			break;
		}
		a++;
	}
	if(flag == 1){
		printf("YES\n");
	} else{
		printf("NO\n");
	}
	return 0;
}

#include<stdio.h>
int main()
{

    double k,l,r,x,y;
    scanf("%lf%lf%lf%lf%lf",&l,&r,&x,&y,&k);
    for(int i=x;i<=y;i++)
    {
        if(k*i>=l&&k*i<=r)
        {
              printf("YES\n");
              return 0;
        }
    }
    printf("NO\n");
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#include <string.h>
int main(int argc, char const *argv[])
{
	long long l,r,x,y,k;
	scanf("%I64d %I64d %I64d %I64d %I64d",&l,&r,&x,&y,&k);
	for(long long i=x;i<=y;i=i+1){
		if(i*k>=l&&i*k<=r){
			printf("YES\n");
			return 0;
		}
	}
	printf("NO");
	return 0;
}

#include <stdio.h>

typedef long long ll;

int main()
{
    ll l,r,x,y;
    int i, j=0;
    float k;

    scanf("%I64d %I64d %I64d %I64d %f",&l, &r, &x, &y, &k);

    for(i = x; i <= y; i++)
    {
        if(k*i >= l && k*i <= r)
        {
            printf("YES");
            j = 1;
            break;
        }
    }

    if(j==0)
        printf("NO");

    return 0;
}

#include<stdio.h>
int main(){
	long long int l,r,x,y,k,i;
	scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
	for(i=x;i<=y;i++){
		if(k*i >= l && k*i<=r)break;
	}
	if(i<=y)printf("YES\n");
	else printf("NO\n");
	return 0;
}

#include <stdio.h>

int main(void) {
	// your code goes here
	float l,r,x,y,i,j;
	float k;
	scanf("%f%f%f%f%f",&l,&r,&x,&y,&k);
//	printf("%f",r/x);
	if(k>(r/x))
	printf("NO");
	else if(k<(l/y))
	printf("NO");
	else
	{
		for(i =l;i<=r;i++)
		{
			if(k<=(i/x)&&k>=(i/y))
				for(j = x;j<=y;j++)
				{
					if((i/j)==k)
					{printf("YES"); return 0;}
				}
		}
		printf("NO");
	}
	return 0;
}

#include <stdio.h>

int main()
{
	long long int l, r, x, y, k;
	scanf("%I64d %I64d %I64d %I64d %I64d", &l, &r, &x, &y, &k);
	long long int i;
	for (i = x; i <= y; i++)
	{
		long long int j = i*k;
		if (j >= l && j <= r)
		{
			printf("YES\n");
			return 0;
		}
	}
	printf("NO\n");
	return 0;
}

#include <stdio.h>

int main(){
	int l,r,x,y;
	double k;
	scanf("%d%d%d%d%lf",&l,&r,&x,&y,&k);

	for (int i=x;i<=y;i++){
		double tar = i*k;
		int tari = (int)tar;
		if (tari-tar==0){
			if (tari<=r&&tari>=l){
				printf("YES");
				return 0;
			}
		}
	}
	printf("NO");
	return 0;
}

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
// #define f(i,x,y) for(i=x;i<y;i++)

int main()
{
	double l=0,r=0,x=0,y=0;
	double k=0;
	int flag=0;
	double i=0,j=0;
	double temp1=0,temp2=0;

	scanf("%lf %lf %lf %lf %lf",&l,&r,&x,&y,&k);

	temp1 = x*k;
	temp2 = y*k;

	if(temp1 > r || temp2 < l)
	{
		printf("NO");
		return 0;
	}

	for(i=l;i<=r;i++)
	{
		j=x;
		while(i >= j*k && i <= y*k && j<=y)
		{
			if(i == j*k)
			{
				flag=1;
				break;
			}

			j++;
		}

		if(flag)
			break;
	}

	if(flag) printf("YES");
	else printf("NO");

	return 0;
}

#include <stdio.h>
#define PRINT 0

int main(){
	int l,r,x,y;
	float k;
	scanf("%d %d %d %d %f",&l, &r, &x, &y, &k);
	int i,j=0;
	for(i = x; i <= y; i++){
		if(k*i >= l && k*i <= r){
			printf("YES");
			j = 1;
			break;
		}
	}
		if(j == 0)
			printf("NO");
}

#include <stdio.h>

int main()
{
	double l,r,x,y,k,i;
	scanf("%lf%lf%lf%lf%lf",&l,&r,&x,&y,&k);

	for(i= x; i<=y ; i++)
	{
		double val = 0;
		val = i*k;
		if(val>=l && val<=r)
		{
			printf("YES\n");
			return 0;
		}
	}
		printf("NO\n");
		return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i;
    float k;
    scanf("%I64d %I64d %I64d %I64d %f",&l,&r,&x,&y,&k);

    for(i=x;i<=y;i++){
                if(l<=i*k&&i*k<=r){
                    printf("YES");
                    return 0;
                }
    }
    printf("NO");
    return 0;
}

#include <stdio.h>

int main ()
{
    double l, r, x, y;
    double k, sum;
    int i, summ = 0;

    scanf("%lf %lf %lf %lf %lf", &l, &r, &x, &y, &k);

    for(i = x; i <= y; i++)
    {
         sum = k * i;

         if(sum >= l && sum <= r){
             printf("YES");
             break;
         }
         else summ++;
    }
    if(summ == (y - x) + 1)
        printf("NO");

    return 0;
}

#include<stdio.h>
#include<stdlib.h>
#include<math.h>

void main(){
long long l,r,x,y,k,i,a;
scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);

for(i=x;i<=y;i++){
	a=i*k;
	if(a>=l&&a<=r){
printf("YES\n");exit(0);}}

printf("NO\n");
exit(0);
}

#include<stdio.h>
#include<stdlib.h>
#include<math.h>

int main()
{
    double   l, r, x, y;
    long long int j;
    double k,p,i;

    scanf("%lf %lf %lf %lf %lf",&l, &r,&x,&y,&k);
    int flag=0;

    i=x;

    while(i<=y)
    {
        p=k*i;
        j=p;
        if(p>=l && p<=r && p-j==0)
        {
            flag=2;
            break;
        }
        else
            i++;
    }

    if(flag==2)
        printf("YES\n");
    else
        printf("NO\n");

    return 0;

}

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    long l,r,x,y,e;
    long i;
    scanf("%ld%ld%ld%ld%ld",&l,&r,&x,&y,&e);
    for (i=l;i<=r;i++)
        if (i/e>=x && i/e<=y && i%e==0)
        {
            printf("YES\n");
            return 0;
        }
    printf("NO\n");
    return 0;
}

//Date:29-08-17

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#include<float.h>
#include<math.h>
#include<inttypes.h>
#include<assert.h>
#include<ctype.h>
#include<limits.h>
#include<time.h>
#define ll long long
#define For(i,n)	for(i=0;i<n;i++)
#define rep(i ,a ,b)	for(i=(a);i<=(b);i++)
#define mset(a ,value)	memset(a ,value ,sizeof(a))
#define s(a)	scanf("%d" ,&a);
#define ls(a)	scanf("%ld" ,&a)
#define reg(i)	register int i
#define infinite INT_MAX
#define MAX 200001
#define NIL -1
#define and &&
int min(int a,int b){	return (a<b?a:b);	}
ll max(ll a,ll b){	return (a>b?a:b);	}
int main(){
	int l ,r ,x ,y ,k ,i ,j;
	scanf("%d%d%d%d%d" ,&l ,&r ,&x ,&y ,&k);
	for(i = l ; i <= r ;i++){
		if(i%k==0){
			j = i/k;
			if(j>=x && j <= y){
				puts("YES");	return 0;
			}
		}
	}
	puts("NO");
	return 0;
}

#include <stdio.h>
#include <math.h>

int main(){
	int l,r,x,y;
	float k;
	scanf("%d%d%d%d%f", &l, &r, &x, &y, &k);
	for(int i=x; i<=y;i++)
		if(k*i>=l && k*i<=r && k*i-(int)(k*i)==0)
		{
			printf("YES\n");
			return 0;
		}
	printf("NO\n");
	return 0;
}

#include<stdio.h>
int main()
{
	long long l,r,x,y,k,i;
	scanf("%I64d %I64d %I64d %I64d %I64d",&l,&r,&x,&y,&k);
	for (i=x;i<=y;i++)
		if ( (i*k>=l) && (i*k<=r) )
		{
			printf("YES\n");
			return 0;
		}
	printf("NO\n");
	return 0;
}

#include<stdio.h>
int main()
{
    long long int  l, r, x, y , a ,b, i, j, k;
    scanf("%I64d %I64d %I64d %I64d %I64d", &l, &r, &x, &y, &k);
    for(i=x; i<=y; i++)
    {
        if( k*i>=l && k*i<=r){
            printf("YES\n");
                return 0;
        }
    }
    printf("NO\n");
    return 0;
}

#include <stdio.h>

int main()
{
    int l, r, x, y, k;
    scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);
    for(int i = x; i <= y; ++i) {
        if((long long)k * i >= l && (long long)k * i <= r) {
            puts("YES");
            return 0;
        }
    }
    puts("NO");
    return 0;
}

#include<stdio.h>
int main(){
    int l,r,x,y,k;
    scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
    long long a,b;
    int find=0;
    for(b=x;b<=y;b++){
        if((long long)l<=(b*(long long)k) && (b*(long long)k)<=(long long)r){
            //printf("[%d, %d] in %lld\n",l,r,b*k);
            find=1;
            break;
        }
    }
    if(find){
        printf("YES\n");
    }else{
        printf("NO\n");
    }
    return 0;
}

# include <stdio.h>
# include <stdlib.h>

int main()
{
	int flag=0;
	long int l,r,x,y;
	float k,s,a,b;
	scanf("%ld %ld %ld %ld %f",&l,&r,&x,&y,&k);
	for(b=x;b<=y;b++)
	{
		a=b*k;
		if(a-(int)a==0)
		{
			if((a<=r)&(a>=l))
				flag=1;
		}

	}
	if(flag==1)
		printf("YES\n");
	else
		printf("NO\n");
	return 0;
}

#include<stdio.h>

int main()
{
	long long int l,r,x,y,k,i;
	scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);

	for(i=x;i<=y;i++)
	{
		if(i*k>=l&&i*k<=r)
		{
			printf("YES");
			return 0;
		}
	}
	printf("NO");
	return 0;
}

#include<stdio.h>
main()
{
    long int l,r,x,y,i,j,flag=0,s;
    double k,p;
    scanf("%ld%ld%ld%ld%lf",&l,&r,&x,&y,&k);
    for(i=x;i<=y;i++)
    {  p=k*(double)i;
        if(p>=l && p<=r)
        {
            printf("YES");flag=1;goto s;
        }
    }s:;
    if(flag==0)
    {
        printf("NO\n");
    }
    return 0;
}

#include <stdio.h>

int main()
{
    int l,r,x,y,k;
    scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
    for (int i = l; i <= r; i++)
    {
        if (i%k == 0 && x <= i/k && i/k <= y)
        {
            puts("YES");
            return 0;
        }
    }
    puts("NO");
    return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
	int l,r,x,y,i,j;
	double k;
	scanf("%d %d %d %d %lf",&l,&r,&x,&y,&k);
	for(j=x;j<=y;j++)
	{
		double a;
		int ab;
		a=k*j;
		ab=k*j;
		if((a-ab)==0 && (l<=ab && ab<=r))
		{
			printf("YES");
			return 0;
		}
	}
	printf("NO");
	return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    long int i;
    long int l,r,x,y;
    long int k;
    scanf("%ld %ld %ld %ld %ld",&l,&r,&x,&y,&k);
    for(i=l;i<=r;i++)
        {
            if(i/k<=y&&i/k>=x&&i%k==0)
            {
                printf("YES");
                exit(0);
            }
        }
    printf("NO");
    return 0;
}

#include <stdio.h>

int main(){
	int l, r, x, y, k, notpos = 0, a, b;
	scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);

	for(a = l; a<=r; a++){
		if(a%k == 0 && (a/k)>= x && (a/k) <= y){
			notpos = 1;
			break;
		}
	}

	if(notpos==1) printf("YES\n");
	else printf("NO\n");

	return 0;
}

#include<stdio.h>
#include<stdbool.h>
#define ll long long int
int main()
{
    ll l,r,x,y,k;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    ll i;
    bool key=false;
    for(i=x;i<=y;i++)
    {
        if(i*k<=r && i*k>=l)
        {
            key=true;
            break;
        }
    }
    if(key)
        printf("YES\n");
    else
        printf("NO\n");
    return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y,k,m,n,i=0;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    for(m=x;m<=y;m++)
    {
        n=m*k;
        if(n>=l&&n<=r)
        {
            printf("YES\n");
            i++;
            break;
        }
        else if(n>r)
            break;
    }
    if(i==0)
        printf("NO\n");
    return 0;

}

#include<stdio.h>
int main()
{
    int l,r,x,y,k,i;
    scanf("%d %d %d %d %d",&l,&r,&x,&y,&k);
    for(i=l;i<=r;++i)
    {
        if(i%k==0&&i/k>=x&&i/k<=y)
        {
            printf("YES\n");
            return 0;
        }
    }
    printf("NO\n");
  return 0;
}

#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>

typedef struct {
	int
		left_numerator,
		left_denominator,
		right_numerator,
		right_denominator,
		target;
} data_t;

data_t getdata(void) {
	data_t data;
	scanf("%d%d%d%d%d",
			&data.left_numerator,
			&data.right_numerator,
			&data.left_denominator,
			&data.right_denominator,
			&data.target
	     );
	return data;
}

void search(data_t data) {
	int
		left = data.left_denominator,
		     right = data.right_denominator;
	while (true) {
		int guess = (left + right) / 2;
		if (guess == left)
			break;
		if ((long long)guess * data.target > data.right_numerator) {
			right = guess;
			continue;
		}

		if ((long long)guess * data.target < data.left_numerator) {
			left = guess;
			continue;
		}

		puts("YES");
		exit(EXIT_SUCCESS);
	}

	if (
			(
			 (long long)left * data.target <= data.right_numerator
			 &&
			 (long long)left * data.target >= data.left_numerator
			)
			||
			(
			 (long long)right * data.target <= data.right_numerator
			 &&
			 (long long)right * data.target >= data.left_numerator
			)
	   ) {
		puts("YES");
		exit(EXIT_SUCCESS);
	}
}

int main(void) {
	data_t data;
	data = getdata();
	search(data);
	puts("NO");
	return EXIT_SUCCESS;
}

#include <stdio.h>

int main(){
    long long l,r,x,y, k;
    scanf("%lld %lld %lld %lld %lld", &l, &r, &x, &y, &k);

    for(int c1=x; c1<=y; c1++){
        if(k*c1>=l && k*c1<=r){
            printf("YES");

            return 0;
        }
    }

    printf("NO");

    return 0;
}

/* 1506229942019 */

/* Problem: 842A - Kirill And The Game */
/* Author: Gusztav Szmolik */

#include <stdio.h>

enum bool {FALSE,TRUE};

int main ()
    {
    unsigned int l;
    unsigned int r;
    unsigned int x;
    unsigned int y;
    unsigned int k;
    unsigned int aDivKMin;
    enum bool ans;
    unsigned int aDivKMax;
    unsigned int bMin;
    unsigned int bMax;

    if (scanf("%u %u %u %u %u",&l,&r,&x,&y,&k) != 5)
        return -1;
    if (l < 1 || l > 10000000 || r < 1 || r > 10000000)
        return -1;
    if (x < 1 || x > 10000000 || y < 1 || y > 10000000 || k < 1 || k > 10000000)
        return -1;
    if (l > r || x > y)
        return -1;
    aDivKMin = l+(k-l%k)%k;
    if (aDivKMin > r)
        ans = FALSE;
    else
        {
        aDivKMax = r-r%k;
        bMin = aDivKMin/k;
        bMax = aDivKMax/k;
        ans = (bMax < x || bMin > y ? FALSE : TRUE);
        }
    printf (ans ? "YES\n" : "NO\n");
    return 0;
    }

#include<stdio.h>
#include<stdlib.h>
#include<string.h>

#define ll long long int
#define s1(x) scanf("%lli",&x)
#define s2(x,y) scanf("%lli %lli",&x,&y)
#define p(x) printf("%lli",x)
int main ()
{
  int l,r,x,y,k;
  double t,m;
  scanf("%d %d %d %d %d",&l,&r,&x,&y,&k);
  t=(1.0*r)/(1.0*x);
  m=(1.0*l)/(1.0*y);
  if(k>t)
    {
      printf("NO");
      return 0;
    }
  if(k<m)
    {
      printf("NO");
      return 0;
    }
  for(int i=x;i<=y;i++)
    {
      if(k*i<=r&&k*i>=l)
	{
	  printf("YES");
	  return 0;
	}
    }
  printf("NO");
  return 0;
}

#include<stdio.h>
int main()
{
long long int l,r,x,y,k,i,j;
scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
for(i=x;i<=y;i++)
{
j=i*k;
if(j>=l&&j<=r)
{printf("YES");
return 0;}}
printf("NO");
return 0;}

#include<stdio.h>
int main()
{
	int l,r,x,y,k,i,flag=0;
	scanf("%d %d %d %d %d",&l,&r,&x,&y,&k);

	float min=(float)l/y,max=(float)r/x;

	if(k>=min && k<=max)
	{
		for (i=l;i<=r;i++)
		{
			if((float)i/k>=x && (float)i/k<=y && (float)i/k-i/k==0)
			flag=1;
		}
	}
	if(flag)
	printf("YES\n");
	else
	printf("NO\n");
	return 0;
}

#include <stdio.h>

typedef long long int ll;

int main() {
	ll l, r, x, y, k;
	scanf("%I64d%I64d%I64d%I64d%I64d", &l, &r, &x, &y, &k);
	ll i;
	for(i=x;i<=y;i++) {
		if(l <= i*k && i*k <= r) {
			printf("YES\n");
			return 0;
		}
	}

		printf("NO\n");

	return 0;
}

# include <stdio.h>
# include <stdlib.h>

int main(){
	long long l,r,x,y,k;
	scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
	for(int i=x;i<=y;i++){
		if(l<=(i*k) && (i*k)<=r){
			printf("YES\n");
			return 0;
		}
	}
	printf("NO\n");
	return 0;
}

#include <stdio.h>
#include <stdlib.h>
long int max(long int a, long int b)
{
	if (a>b)
	{
		return a;
	}
	else
	{
		return b;
	}
}
int main()
{
	long int l,r,x,y,k,i,j,temp,check;
	scanf("%ld %ld %ld %ld %ld",&l, &r, &x, &y, &k);
	if(r<x || r<k||k<l/y||k>r/x)
	{
		printf("NO");
	}
	else
	{
		check = 0;
		for(i=max(l,k);i<=r;i++)
		{
			j = i/k;
			if(j>=x&&j<=y&&i%k == 0)
			{
				printf("YES");
				check = 1;
				break;
			}
		}
		if(check == 0)
		{
			printf("NO");
		}
	}
}

#include<stdio.h>
int main(){

  long long int l,r,x,y,k,i,exp,cost,ct=0,ck=0;
  scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);

  for(i=x;i<=y;i++){
        if(l<=k*i&&r>=k*i){
            ck=1;
            break;
        }

  }
  if(ck==1){
    printf("YES");
  }
  else{
    printf("NO");
  }

return 0;
}

#include<stdio.h>

int main()
{
	int l,r,x,y,i;
	double k;
    scanf("%d %d %d %d %lf",&l,&r,&x,&y,&k);
	for(i=x;i<=y;i++)
	{
	    if (i*k<=r&&i*k>=l)
		{
			printf("YES");
			return 0;
		}
	}
	printf("NO");
	return 0;
}

#include <stdio.h>
#define ll long long

int main()
{
	ll l, r, x, y, k, f = 0;
	scanf("%I64d %I64d %I64d %I64d %I64d", &l, &r, &x, &y, &k);
	while(x <= y && x * k <= r)
	{
		if(x * k <= r && x * k >= l)
		{
			f = 1;
			break;
		}
		else
		{
			++x;
		}
	}
	if(f)
	{
		printf("YES\n");
	}
	else
	{
		printf("NO\n");
	}
	/*
	if(l > y * k)
	{
		printf("NO\n");
	}
	else if(l >= x * k && l <= y * k)
	{
		if(l % k == 0)
		{
			printf("YES\n");
		}
		else
		{
			printf("NO\n");
		}
	}
	else
	{
		if(r >= x * k && r <= y * k && r % k == 0)
		{
			printf("YES\n");
		}
		else
		{
			printf("NO\n");
		}
	}
	*/
	return 0;
}

#include <stdio.h>

int main()
{
	long long int l, r, x,y,k;
	scanf ("%lld %lld %lld %lld %lld", &l, &r, &x, &y, &k);
	long long int t=0;

	// for (int i = l; i <= r; ++i)
	// {
	// 	for (int j = x; j <= y; ++j)
	// 	{
	// 		if (i/j == k)
	// 			t=1;
	// 	}
	// }

	long long int i=0;
	for (i = x; i <= y; ++i)
	{
		if(k*i <= r && k*i >= l)
			t=1;
	}
	if (t==1)
		printf("YES\n");
	else
		printf("NO\n");
}

#include <stdio.h>

int main() {
  int l, r, x, y, ef;
  scanf("%d %d %d %d %d", &l, &r, &x, &y, &ef);

  float xp_mid, c_mid, find = 0;
  for (float i = ef; i <= r; i += ef) {
    if (i < l)
      continue;
    else {
      int xx = x, yy = y;
      while (xx <= yy) {
        c_mid = (xx + yy) / 2;

        if (ef > i / c_mid) {
          yy = c_mid - 1;
        } else if (ef < i / c_mid) {
          xx = c_mid + 1;
        } else {
          find = 1;
          break;
        }
      }
      if (find)
        break;
    }
  }

  /*while (l <= r) {
    xp_mid = (l + r) / 2;
    int xx = x, yy = y;
    while (xx <= yy) {
      c_mid = (xx + yy) / 2;
      printf("%f / %f = %f\n", xp_mid, c_mid, xp_mid / c_mid);

      if (ef > xp_mid / c_mid) {
        yy = c_mid - 1;
      } else if (ef < xp_mid / c_mid) {
        xx = c_mid + 1;
      } else {
        find = 1;
        break;
      }
    }

    if (find)
      break;
    else {
      if (ef > xp_mid / c_mid) {
        l = xp_mid + 1;
      } else if (ef < xp_mid / c_mid) {
        r = xp_mid - 1;
      } else {
        find = 1;
        break;
      }
    }
  }*/

  printf(find ? "YES\n" : "NO\n");

  return 0;
}

#include <stdio.h>

int main() {
	int l, r, x, y, flag=0;
	double k;
	scanf("%d %d %d %d %lf", &l, &r, &x, &y, &k);
	for (double i=x, j=y;i<=y, j>=x;i++, j--) {
		if ((1.0*k*i>=l&&1.0*k*i<=r)||(1.0*k*j>=l&&1.0*k*j<=r)) {
			flag=1;
			break;
		}
	}
	if (flag) printf("YES\n");
	else printf("NO\n");
}

/*  AUTHOR:AKASH JAIN
*   USERNAME:akash19jain
*   DATE:24/07/2019
*/
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#define SC1(x)          scanf("%lld",&x)
#define SC2(x,y)        scanf("%lld%lld",&x,&y)
#define SC3(x,y,z)      scanf("%lld%lld%lld",&x,&y,&z)
#define SCS(x)          scanf("\n%s", x)
#define PF1(x)          printf("%lld\n",x)
#define PF2(x,y)        printf("%lld %lld\n",x,y)
#define PF3(x,y,z)      printf("%lld %lld %lld\n",x,y,z)
#define REP(i,n)        for(long long i=0;i<(n);i++)
#define FOR(i,a,b)      for(long long i=(a);i<=(b);i++)
#define FORD(i,a,b)     for(long long i=(a);i>=(b);i--)
#define WHILE(n)		while(n--)
#define MEM(a, b)       memset(a, (b), sizeof(a))
#define ITOC(c)         ((char)(((int)'0')+c))
#define MID(s,e)        (s+(e-s)/2)
#define SZ(a)		    strlen(a)
#define MOD             1000000007
#define MAX             10000000005
#define MIN             -10000000005
#define PI              3.1415926535897932384626433832795
#define TEST(x)         printf("The value of \"%s\" is: %d\n",#x,x)
const int INF = 1<<29;
typedef long long ll;
typedef unsigned long long ull;
#define FILEIO(name) \  freopen(name".in", "r", stdin); \   freopen(name".out", "w", stdout);
int cmp(const void * a,const void * b);
long long maxv(long long a,long long b);
long long minv(long long a,long long b);
long long gcd(long long u,long long v);

int main()
{
    ll t=1,i=0;
    //SC1(t);
    while(t--)
    {
        ll l,r,x,y,k,f=0;
        SC3(l,r,x);
        SC2(y,k);
        FOR(i,x,y)
        {
            if(l<=i*k && i*k<=r)
                f=1;
        }
        if(f)
            printf("YES");
        else
        {
            printf("NO");
        }

    }

}

//qsort(arr,n,sizeof(arr[0]),cmp);
int cmp (const void * a, const void * b)
{
    if( *(ll*)a - *(ll*)b < 0 ) return -1;
    if( *(ll*)a - *(ll*)b > 0 ) return 1;
        return 0;
}
long long maxv(long long a,long long b)
{
    if(a>b) return a;
        return b;
}
long long minv(long long a,long long b)
{
    if(a<b) return a;
        return b;
}
long long gcd(long long u,long long v)
{
    if (v == 0) return u;
       return gcd(v, u%v);
}

#include <stdio.h>

int main()
{
	long long x, y, l, r, k;
	scanf("%lld%lld%lld%lld%lld", &x, &y, &l, &r, &k);
	long long flag = 0;
	for (int i = l; i <= r; i++)
	{
		if (k * i <= y && k * i >= x)
		{
			flag = 1;
			break;
		}
	}
	printf("%s\n", flag ? "YES" : "NO");
}

#include <stdio.h>

int main() {
  int l, r, x, y, ef;
  scanf("%d %d %d %d %d", &l, &r, &x, &y, &ef);

  float xp_mid, c_mid, find = 0;
  for (float i = ef; i <= r; i += ef) {
    if (i < l)
      continue;
    else {
      int xx = x, yy = y;
      while (xx <= yy) {
        c_mid = (xx + yy) / 2;
        // printf("%f / %f = %f\n", i, c_mid, i / c_mid);

        if (ef > i / c_mid) {
          yy = c_mid - 1;
        } else if (ef < i / c_mid) {
          xx = c_mid + 1;
        } else {
          find = 1;
          break;
        }
      }
      if (find)
        break;
    }
  }

  /*while (l <= r) {
    xp_mid = (l + r) / 2;
    int xx = x, yy = y;
    while (xx <= yy) {
      c_mid = (xx + yy) / 2;
      printf("%f / %f = %f\n", xp_mid, c_mid, xp_mid / c_mid);

      if (ef > xp_mid / c_mid) {
        yy = c_mid - 1;
      } else if (ef < xp_mid / c_mid) {
        xx = c_mid + 1;
      } else {
        find = 1;
        break;
      }
    }

    if (find)
      break;
    else {
      if (ef > xp_mid / c_mid) {
        l = xp_mid + 1;
      } else if (ef < xp_mid / c_mid) {
        r = xp_mid - 1;
      } else {
        find = 1;
        break;
      }
    }
  }*/

  printf(find ? "YES\n" : "NO\n");

  return 0;
}

#include <stdio.h>
int main()
{
    long long int l,r,x,y,k,i,a=0;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    for (i=x; i<=y; i++)
    {
        if ((i*k) >=l && (i*k) <=r)
        {
            a++;
        }
        if (a>0)
        {
            break;
        }
    }
    if (a>0)
    {
        printf("YES\n");
    }
    else
    {
        printf("NO\n");
    }
    return 0;
}

#include <stdio.h>

#define max(x, y)	x>y ? x : y;

int retans(void)
{
	int l, r, k, a, b;

	long long int x, y;

	scanf("%d %d %d %d %d", &l, &r, &a, &b, &k);

	x = a;
	y = b;
	x *= k;
	y *= k;

	if(y<l || x>r)	return 0;
	else {
		x = max((l/k)*k, x);
		while(x<=r && x<=y)	{
			if(x>=l)	return 1;
			x += k;
		}
	}

	return 0;
}

int main(void)
{
	if(retans())	printf("YES\n");
	else printf("NO\n");

	return 0;
}

#include <stdio.h>

int main() {
	int l, r, x, y, k,i,tmp;
	scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);

	for( i = l; i <= r; ++i) {
		if(i % k == 0) {
			 tmp = i / k;
			if(tmp >= x && tmp <= y) {
				printf("YES");
				return 0;
			}
		}
	}

	printf("NO");

	return 0;
}

#include<stdio.h>
#include<math.h>
int main(){
	int l,r,x,y,end=0;
	double k,b;
	scanf("%d %d %d %d %lf",&l,&r,&x,&y,&k);
	for(int i=l;i<=r;i++){
		b=(double)i/k;
		if(b>=x && b<=y && b==floor(b)){
			end=1;
			break;
		}
	}
	if(end==1)	{printf("YES");}
	else		{printf("NO");}
	return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y;
    float k;
    scanf("%I64d%I64d%I64d%I64d%f",&l,&r,&x,&y,&k);
    long long int ans,i,j;
    ans=0;
    for (i=x; i<=y; i++)
    {
        j=i*k;
        if(l<=j && j<=r)
        {
            ans=1;
            break;
        }
    }
    if(ans==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y;
    float k;
    scanf("%I64d%I64d%I64d%I64d%f",&l,&r,&x,&y,&k);
    long long int ans,i,j,d;
    d=(y-x)/2;
    ans=0;
    while(x<=y)
    {
        j=x*k;
        if(l<=j && j<=r)
        {
            ans=1;
            break;
        }
        else if((x+d)*k<l){
            x=x+d;
        }
        else if((x+d)*k>r){
            y=x+d;
            d=(y-x)/2;
        }
        x+=1;
    }
    if(ans==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y,k;
    scanf("%I64d%I64d%I64d%I64d%I64d",&l,&r,&x,&y,&k);
    long long int ans,j;
    ans=0;
    while(x<=y)
    {
        j=x*k;
        if(l<=j && j<=r)
        {
            ans=1;
            break;
        }
        x+=1;
    }
    if(ans){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y;
    float k;
    scanf("%I64d%I64d%I64d%I64d%f",&l,&r,&x,&y,&k);
    long long int ans,j;
    ans=0;
    while(x<=y)
    {
        j=x*k;
        if(l<=j && j<=r)
        {
            ans=1;
            break;
        }
        x+=1;
    }
    if(ans==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include <stdio.h>

int main()
{
    int l, r, x, y, k;
    scanf("%d%d%d%d%d", &l, &r, &x, &y, &k);
    int a, b;
    for (a = l, b = x; a <= r && b <= y && a != b * k;) {
        while ((long long)b * k < a)
            b++;
        while ((long long)b * k > a)
            a++;
    }
    if (a <= r && b <= y && (a == (long long)b * k))
        puts("YES");
    else
        puts("NO");
    return 0;
}

#include<stdio.h>

int main()
{
    long long l,r,x,y,k,a,f=0;
    scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
    long long ar[y-x+1];
    a=x;
    for(int i=0;i<y-x+1;i++)
    ar[i]=a++;
    for(int i=0;i<y-x+1;i++)
    {
    if((k*ar[i]<=r)&&(k*ar[i]>=l))
    {
    f=1;
    break;
    }
    }
    if(f==1)
    printf("%s","YES");
    else
    printf("%s","NO");
    return 0;
}

#include<stdio.h>

main()
{
    int  l,r,x,y;
    int i,j;
    float k;
    scanf("%d %d %d %d %f",&l,&r,&x,&y,&k);
    for(i=1;i<=10000000;i++)
        if((k*i>=l&&k*i<=r)&&(i>=x&&i<=y))
    {
        printf("YES");
        return 0;
    }
    printf("NO");
}

#include<stdio.h>
int main()
{
	double l, r, x, y, k, i, m,flag;
	flag = 1;
	scanf("%lf%lf%lf%lf%lf",&l,&r,&x,&y,&k);
	if (k >= l/y && k <= r/x)
	for(i = x;i <= y;i++)
	{
		m = k*i;
		if(m>=l&&m<=r)
		{
			printf("YES");
			flag = 0;
			break;
		}
	 }

	 if(flag ==	 1)
	 printf("NO");

	return 0;
 }

#include<stdio.h>
#include<string.h>
int main()
{
	int l, r, x, y;
	double k;
	int i;
	scanf("%d%d%d%d%lf",&l,&r,&x,&y,&k);
	for (i=x;i<=y;i++)
	{
		if (i*k<=r&&i*k>=l)
		{
			printf("YES\n");
			return 0;
		}
	}
	printf("NO\n");
	return 0;
}

#include<stdio.h>
#include<math.h>
#include<string.h>
int main()
{
	long int l,r,x,y,k,i,j,c=0;
	scanf("%ld",&l);
	scanf("%ld",&r);
	scanf("%ld",&x);
	scanf("%ld",&y);
	scanf("%ld",&k);
	if(l<=r && x<=y && (float)r/x >= k && (float)l/y <= k)
	{
		for(i=x;i<=y;i++)
		{
			for(j=l;j<=r;j++)
			{
				if(j/i == k && j%i == 0)
				{
					c++;
					break;
				}
			}
			if(c!=0)
			break;
		}
	}
		if(c!=0)
		printf("YES");
		else
		printf("NO");

	return 0;
}

#include<stdio.h>
int main()
{
    int  l, r, x, y , a ,b, i, j;
    double k ,an;
    scanf("%d %d %d %d %lf", &l, &r, &x, &y, &k);
    a=(r-l+1);
    b=(y-x+1);
    if(l<=a && a<=r && x<=b && b<=y)
    {
        for(i=l; i<=r; i++)
        {
            for(j=x; j<=y; j++)
            {
                an=(i/j);
                if(an==k)
                {
                    printf("YES\n");
                    return 0;
                }
            }
        }
    }
    else
        printf("NO\n");

    return 0;
}

#include <stdio.h>

typedef long long ll;

int main()
{
    ll l,r,x,y,i,j,k;
    double c;

    scanf("%I64d %I64d %I64d %I64d %I64d",&l,&r,&x,&y,&k);

    /*for(i=l; i<=r; i++)
    {
        for(j=x; j<=y; j++)
        {
            a=i;
            b=j;

        }

    }*/
    c= (r/x);

    if(c < k)
    {
        printf("NO");

    }
    else
        printf("YES");

    return 0;
}

#include <stdio.h>
int main()
{
    long long int l,r,x,y,k,i;
    int a=0;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    if (x>r)
    {
        printf("NO\n");
    }
    else
    {
        for (i=l; i<=r; i++)
        {
            if ((i/k) >=x && (i/k) <=y)
            {
                a++;
            }
            if (a>0)
            {
                break;
            }
        }
        if (a>0)
        {
            printf("YES\n");
        }
        else
        {
            printf("NO\n");
        }
    }
    return 0;
}

#include <stdio.h>

int main (void)
{
	int l, r, x, y, k, i;
	scanf("%d", &l);
	scanf("%d", &r);
	scanf("%d", &x);
	scanf("%d", &y);
	scanf("%d", &k);
	for (i = x; i < y; i++)
		if ((k * i >= l) && (k * i <= r)){
			puts("YES");
			return 0;
		}
	puts("NO");
	return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j;
    double k,m;
    scanf("%I64d %I64d %I64d %I64d %lf",&l,&r,&x,&y,&k);

    if((r/x)<k)
    {
        printf("NO");
    }
    else
    {
        printf("YES");
    }

    return 0;
}

#include<stdio.h>
int main()
{

    double k,l,r,x,y;
    scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
    if(r/x>=k&&l/y<=k) printf("YES\n");
    else printf("NO\n");
    return 0;
}

#include <stdio.h>
#define PRINT 0

int main(){
	int l,r,x,y;
	int k;
	scanf("%d %d %d %d %d",&l, &r, &x, &y, &k);
	int i,j=0;
	for(i = x; i <= y; i++){
		if(k*i >= l && k*i <= r){
			printf("YES");
			j = 1;
		}
	}
		if(j == 0)
			printf("NO");
}

#include<stdio.h>
int main()
{
    int  l, r, x, y , a ,b, i, j, k ,an;
    scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);
    a=(r-l+1);
    b=(y-x+1);
    if(l<=a && a<=r && x<=b && b<=y)
    {
        for(i=l; i<=r; i++)
        {
            for(j=x; j<=y; j++)
            {
                an=(i/j);
                if(an==k)
                {
                    printf("YES\n");
                    return 0;
                }
            }
        }
    }
    else
        printf("NO\n");

    return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    int i,j;
    int l,r,x,y;
    double k;
    scanf("%d %d %d %d %lf",&l,&r,&x,&y,&k);
    for(i=l;i<=r;i++)
        {
            if(i*k<=y&&i*k>=x)
            {
                printf("YES");
                exit(0);
            }
        }
    printf("NO");
    return 0;
}

#include<stdio.h>
#include<math.h>
#include<string.h>
int main()
{
	long int l,r,x,y,k,i,j,c=0;
	scanf("%ld",&l);
	scanf("%ld",&r);
	scanf("%ld",&x);
	scanf("%ld",&y);
	scanf("%ld",&k);
	if(l<=r && x<=y && r/x >= k)
	{
		for(i=x;i<=y;i++)
		{
			for(j=i;j<=r;j++)
			{
				if(j/i == k && j%i == 0)
				{
					c++;
					break;
				}
			}
			if(c!=0)
			break;
		}
	}
		if(c!=0)
		printf("YES");
		else
		printf("NO");

	return 0;
}

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
// #define f(i,x,y) for(i=x;i<y;i++)

int main()
{
	static int l,r,x,y;
	double k=0;
	int flag=0;
	int i=0,j=0;
	static int temp1,temp2;

	scanf("%d %d %d %d %lf",&l,&r,&x,&y,&k);

	temp1 = x*k;
	temp2 = y*k;

	if(temp1 > r || temp2 < l)
	{
		printf("NO");
		return 0;
	}

	for(i=l;i<=r;i++)
	{
		for(int j=x;j<y;j++)
		{
			if(i == j*k)
			{
				flag=1;
				break;
			}
		}

		if(flag)
			break;
	}

	if(flag) printf("YES");
	else printf("NO");

	return 0;
}

#include <stdio.h>

int main()
{
	long long int l,r,x,y,k,i;
	scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);

	for(i= x; i<=y ; i++)
	{
		long long int val;
		val = i*k;
		if(val>=l && val<=r)
		{
			printf("YES");
			return 0;
		}
	}
		printf("No");
		return 0;
}

#include<stdio.h>

int main()
{
	int l,r,x,y,i;
	double k;
    scanf("%d %d %d %d",&l,&r,&x,&y);
	for(i=x;i<=y;i++)
	{
	    if (i*k<=r&&i*k>=l)
		{
			printf("YES");
			return 0;
		}
	}
	printf("NO");
	return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j,z;
    double k,m;
    scanf("%I64d %I64d %I64d %I64d %lf",&l,&r,&x,&y,&k);
    z=k;
    if((r/x)<k)
    {
        printf("NO");
    }
    else
    {
        for(i=l; i<=r; i+=z)
        {
            for(j=x; j<=y; j++)
            {
                m=i/j;
                if(m==k)
                {
                    printf("YES");
                    return 0;
                }
            }
        }
        printf("NO");
    }

    return 0;
}

#include<stdio.h>
int main()
{
	double l, r, x, y, k;
	scanf("%lf%lf%lf%lf%lf",&l,&r,&x,&y,&k);

	if(k >= l/y && k <= r/x)
	printf("YES");
	else
	printf("NO");

	return 0;
 }

#include<stdio.h>
int main(){
    int l,r,x,y,k;
    scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
    int a,b;
    int find=0;
    for(b=x;b<=y;b++){
        if(l<=b*k && b*k<=r){
            find=1;
            break;
        }
    }
    if(find){
        printf("YES\n");
    }else{
        printf("NO\n");
    }
    return 0;
}

#include <stdio.h>
#define PRINT 0

int main(){
	int l,r,x,y,k;
	scanf("%d %d %d %d %d",&l, &r, &x, &y, &k);
	int i,j;
	double t,max=0,that1 = (r/x),that2 = (l/y);
	if(k >= (int)that2 && k <= (int)that1){
		printf("YES");
	}
	else
		printf("NO");
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    float l,r,x,y,a,b, bOriginal;
    int bool=0;
    float k;
    scanf("%f %f %f %f %f",&l, &r, &x, &y, &k);
    bOriginal=b;
    a=l;
    b=x;
    while (a<r){
        while (b<y){
                    if (a/b==k)
                    bool=1;
                    b++;
        }
        if (b==y){
            b=bOriginal;
        }
                    a++;
    }
    if (bool==1)
        printf("YES");
    else
        printf("NO");
    return 0;
}

/* 1505847074493 */

#include <stdio.h>

int main() {
	int l, r, x, y, k;
	scanf("%d%d%d%d%d", &l, &r, &x, &y, &k);
	if((l/x < k || ((l/x)*x == l) && l/x <= k) && k <= r/x) {
		printf("YES\n");
	} else {
		printf("NO\n");
	}

	return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j,c=0;
    float k,a,b;
    scanf("%I64d %I64d %I64d %I64d %f",&l,&r,&x,&y,&k);

    for(i=l;i<=r;i++){
        for(j=x;j<=y;j++){
            a=i;
            b=j;
            if(a/b==k){
                c=1;
            }
            else{
                c=0;
            }
        }
    }
    if(c==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include <stdio.h>

int main (void)
{
	int l, r, x, y, k, i;
	scanf("%d", &l);
	scanf("%d", &r);
	scanf("%d", &x);
	scanf("%d", &y);
	scanf("%d", &k);
	for (i = x; i < y; i++)
		if ((k * i >= l) && (k * i <= r)){
			puts("YES");
			return 0;
		}
	puts("NO");
	return 0;
}

#include<stdio.h>
main()
{
    float a,b,c,d,i,j,k,f=0,e;
    scanf("%f%f%f%f%f",&a,&b,&c,&d,&e);
    for(i=a;i<=b;i++)
    {
        e=e*1.0;
        k=a/e;
        if(k>=c&&k<=d)
        {
            f=1;
            printf("YES");
            break;
        }
    }
    if(f==0)
        printf("NO");
}

#include <stdio.h>

int main(void){
	long long int l, r, x, y, k;
	scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
	long long int a = 1;
	if(l > x){
	    a = l;
	} else{
	    a = x;
	}
	long long int flag = 0;
	while(k*a <= r && a <= y){
		if(k*a <= r && a <= y){
			flag = 1;
			break;
		}
		a++;
	}
	if(flag == 1){
		printf("YES\n");
	} else{
		printf("NO\n");
	}
	return 0;
}

#include <stdio.h>

int main() {
  int l, r, x, y, ef, count = 0;
  scanf("%d %d %d %d %d", &l, &r, &x, &y, &ef);

  int xp_mid, c_mid, find = 0;
  while (l <= r) {
    xp_mid = (l + r) / 2;
    while (x <= y) {
      c_mid = (x + y) / 2;

      if (ef > xp_mid / c_mid) {
        y = c_mid - 1;
      } else if (ef < xp_mid / c_mid) {
        x = c_mid + 1;
      } else if (ef == xp_mid / c_mid) {
        printf("YES\n");
        find = 1;
        break;
      }
    }

    if (find)
      break;
    else {
      if (ef > xp_mid / c_mid) {
        l = xp_mid + 1;
      } else if (ef < xp_mid / c_mid) {
        r = xp_mid - 1;
      } else if (ef == xp_mid / c_mid) {
        printf("YES\n");
        find = 1;
        break;
      }
    }
  }

  if (!find)
    printf("NO\n");

  return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    float l,r,x,y,a,b, bool=0, bOriginal;
    float k;
    scanf("%f %f %f %f %f",&l, &r, &x, &y, &k);
    bOriginal=b;
    a=l;
    b=x;
    while (a<r){
        while (b<y){
                    if (a/b==k)
                    bool=1;
                    b++;
        }
        if (b==y){
            b=bOriginal+1;
            bOriginal++;
        }
                    a++;
    }
    if (bool==1)
        printf("YES");
    else
        printf("NO");
    return 0;
}
/* 1505846651122 */

#include <stdio.h>

int main(){
	int l, r, x, y, k, i;
	double divisao, k2, i2;
	int a;

	scanf("%d%d%d%d%d", &l, &r, &x, &y, &k);

	for(i = 1; i <= k; i++){
		i2 = i;
		k2 = k;
		a = k/i;
		divisao = k2/i2;
		printf("%lf\n%lf\n", i2, k2);
		printf("%lf\n", divisao);
		if(divisao - a == 0){
			if(((i >= l && i <= r) && (a >= x && a <= y)) || ((a >= l && a <= r) && (i >= x && i <= y))){
				printf("YES\n");
				return 0;
			}
		}
	}
	printf("NO\n");
	return 0;
}
/* 1505849059230 */

#include <stdio.h>

int main(void){
	long long int l, r, x, y, k;
	scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
	long long int a = x;
	if(k * a < l){
	    if(l % k ==0){
	        a = k/l;
	    } else{
	        a = k/l+1;
	    }
	}
	long long int flag = 0;
	while(k*a <= r && a <= y){
		if(k*a <= r && a <= y){
			flag = 1;
			break;
		}
		a++;
	}
	if(flag == 1){
		printf("YES\n");
	} else{
		printf("NO\n");
	}
	return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,k,i,j,c=0;
    scanf("%I64d %I64d %I64d %I64d %I64d",&l,&r,&x,&y,&k);

    for(i=l;i<=r;i++){
        for(j=x;j<=y;j++){
            if(i/j==k){
                c=1;
            }
            else{
                c=0;
            }
        }
    }
    if(c==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include <stdio.h>
#define ll long long

int main()
{
	ll l, r, x, y, k;
	scanf("%I64d %I64d %I64d %I64d %I64d", &l, &r, &x, &y, &k);
	if(l > y * k)
	{
		printf("NO\n");
	}
	else if(l >= x * k && l <= y * k)
	{
		if(l % k == 0)
		{
			printf("YES\n");
		}
		else
		{
			printf("NO\n");
		}
	}
	else
	{
		if(r >= x * k && r <= y * k && r % k == 0)
		{
			printf("YES\n");
		}
		else
		{
			printf("NO\n");
		}
	}
	return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j,c=0;
    double k,a,b;
    scanf("%I64d %I64d %I64d %I64d %lf",&l,&r,&x,&y,&k);

    for(i=l;i<=r;i++){
        for(j=x;j<=y;j++){
            a=i;
            b=j;
            if(b/a==k){
                c=1;
            }
            else{
                c=0;
            }
        }
    }
    if(c==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j,c=0;
    double k,a,b;
    scanf("%I64d %I64d %I64d %I64d %lf",&l,&r,&x,&y,&k);

    for(i=l;i<=r;i++){
        for(j=x;j<=y;j++){
            a=i;
            b=j;
            if(a/b==k){
                c=1;
            }
            else{
                c=0;
            }
        }
    }
    if(c==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j;
    double k,m;
    scanf("%I64d %I64d %I64d %I64d %lf",&l,&r,&x,&y,&k);

    if((r/x)<k)
    {
        printf("NO");
    }
    else
    {
        printf("YES");
    }

    return 0;
}

#include <stdio.h>

int main (void)
{
	unsigned long long l, r, x, y, k, i;
	scanf("%d", &l);
	scanf("%d", &r);
	scanf("%d", &x);
	scanf("%d", &y);
	scanf("%d", &k);
	for (i = x; i <= y; i++)
		if ((k * i >= l) && (k * i <= r)){
			puts("YES");
			return 0;
		}
	puts("NO");
	return 0;
}

#include<stdio.h>
int main()
{
int l,r,x,y,k,i,j;
scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
for(i=x;i<=y;i++)
{
j=i*k;
if(j>=l&&j<=r)
{printf("YES");
break;}
printf("NO");
return 0;}}

#include <stdio.h>

typedef long long ll;

int main()
{
    ll l,r,x,y;
    int i, j=0;
    double k;

    scanf("%I64d %I64d %I64d %I64d %lf",&l, &r, &x, &y, &k);

    for(i=x; i <= y; i++)
    {
        if(k*i >= l && k*i <=r)
            printf("YES");
        j = 1;
        break;
    }

    if(j==0)
        printf("NO");

  return 0;
}

#include<stdio.h>
#include<math.h>
#include<string.h>
int main()
{
	long int l,r,x,y,k,i,j,c=0;
	scanf("%ld",&l);
	scanf("%ld",&r);
	scanf("%ld",&x);
	scanf("%ld",&y);
	scanf("%ld",&k);
	if(l<=r && x<=y )
	{
		for(i=l;i<=r;i++)
		{
			for(j=x;j<=y;j++)
			{
				if(i/j == k && i%j != 0)
				c++;
			}
		}
		if(c!=0)
		printf("YES");
		else
		printf("NO");
	}
	return 0;
}

#include<stdio.h>
#include<stdlib.h>
#include<math.h>

int main()
{
    double  j, l, r, x, y;

    double k,p,i;

    scanf("%lf %lf %lf %lf %lf",&l, &r,&x,&y,&k);
    int flag=0;

    i=l;
    j=x;

    while(i<=r)
    {
        p=k*i;
        if(p>=x && p<=y)
        {
            flag=2;
            break;
        }
        else
            i++;
    }

    if(flag==2)
        printf("YES\n");
    else
        printf("NO\n");

    return 0;

}

#include <stdio.h>

int main()
{
    int l, r, x, y, k;
    scanf("%d%d%d%d%d", &l, &r, &x, &y, &k);
    int a, b;
    for (a = l, b = x; a <= r && b <= y && a != b * k;) {
        while ((long long)b * k < a)
            b++;
        while ((long long)b * k > a)
            a++;
    }
    if (a <= r && b <= y && (a == b * k))
        puts("YES");
    else
        puts("NO");
    return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j,c=0;
    float k,a,b;
    scanf("%I64d %I64d %I64d %I64d %f",&l,&r,&x,&y,&k);

    for(i=l;i<=r;i++){
        for(j=x;j<=y;j++){
            a=i;
            b=j;
            if(a/b==k){
                c=1;
            }
            else{
                c=0;
            }
        }
    }
    if(c==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include <stdio.h>

int main() {
  int l, r, x, y, ef, count = 0;
  scanf("%d %d %d %d %d", &l, &r, &x, &y, &ef);

  int n = (r - l + 1) * (y - x + 1);
  int potion[n];
  for (int a = l; a < r; a++) {
    for (int b = x; b < y; b++) {
      potion[count] = a / b;
      count++;
    }
  }

  count = 1;
  for (int i = 0; i < n; i++) {
    if (potion[i] == ef) {
      printf("YES\n");
      count = 0;
      break;
    }
  }

  if (count)
    printf("NO\n");

  return 0;
}

#include <stdio.h>

int main (void)
{
	int l, r, x, y, k, i;
	scanf("%d", &l);
	scanf("%d", &r);
	scanf("%d", &x);
	scanf("%d", &y);
	scanf("%d", &k);
	for (i = x; i < y; i++)
		if ((k * i >= l) && (k * i <= r)){
			puts("YES");
			return 0;
		}
	puts("NO");
	return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    int i,j;
    int l,r,x,y;
    float k;
    scanf("%d %d %d %d %f",&l,&r,&x,&y,&k);
    for(i=l;i<=r;i++)
        {
            if(i*k<=y&&i*k>=x)
            {
                printf("YES");
                exit(0);
            }
        }
    printf("NO");
    return 0;
}

#include<stdio.h>
int main()
{

    double k,l,r,x,y;
    scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
    if(r/x>=k&&l/y<=k) printf("YES\n");
    else printf("NO\n");
    return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y,k;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    if(l*k>y||r*k<x)
    {
        printf("NO\n");
    }
    else
    {
        printf("YES\n");
    }
    return 0;
}

#include <stdio.h>

int main (void)
{
	long l, r, x, y, k, i;
	scanf("%d", &l);
	scanf("%d", &r);
	scanf("%d", &x);
	scanf("%d", &y);
	scanf("%d", &k);
	for (i = x; i < y+1; i++)
		if ((k * i >= l) && (k * i <= r)){
			puts("YES");
			return 0;
		}
	puts("NO");
	return 0;
}

#include <stdio.h>
#include <stdlib.h>
int main()
{
	long int l,r,x,y,k,i,j,temp,check;
	scanf("%ld %ld %ld %ld %ld",&l, &r, &x, &y, &k);
	if(r<x || r<k)
	{
		printf("NO");
	}
	else
	{
		check = 0;
		for(i=l;i<=r && i>= k;i++)
		{
			for(j = x;j<=y && j<=i;j++)
			{
				if(i%j == 0)
				{
					if(k == i/j)
					{
						printf("YES");
						check = 1;
						break;
					}
				}
			}
			if(check == 1)
			{
				break;
			}
		}
		if(check == 0)
		{
			printf("NO");
		}
	}
}

#include<stdio.h>
int main()
{
    int l, r, x, y, k, a, b;
    scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);
    a=(y-x+1);
    b=(r-l+1);
    if(a>=l && a<=r && x<=b && b<=y && l<=r && x<=y){
        if(a/b==k)
            printf("YES\n");
    }
    else
        printf("NO\n");

    return 0;
}

#include <stdio.h>

int main(void){
	long long int l, r, x, y, k;
	scanf("%lld%lld%lld%lld%lld",&l,&r,&x,&y,&k);
	long long int a = 1;
	if(l%k == 0){
	    a = l/k;
	} else{
	    a = l/k + 1;
	}
	long long int flag = 0;
	while(k*a <= r && a <= y){
		if(k*a <= r && a <= y){
			flag = 1;
			break;
		}
		a++;
	}
	if(flag == 1){
		printf("YES\n");
	} else{
		printf("NO\n");
	}
	return 0;
}

#include <stdio.h>

int main(){
	int l,r,x,y,k;
	scanf("%d%d%d%d%d", &l, &r, &x, &y, &k);
	for(int i=x; i<=y;i++)
		if(k*i>=l && k*i<=r && (k*i)%1==0)
		{
			printf("YES\n");
			return 0;
		}
	printf("NO\n");
	return 0;
}

#include <stdio.h>

typedef long long ll;

int main()
{
    ll l,r,x,y,i,j,k;
    double c;

    scanf("%I64d %I64d %I64d %I64d %I64d",&l,&r,&x,&y,&k);

    /*for(i=l; i<=r; i++)
    {
        for(j=x; j<=y; j++)
        {
            a=i;
            b=j;

        }

    }*/
    c= (r/x);

    if(c < k)
    {
        printf("NO");

    }
    else
        printf("YES");

    return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j,c=0;
    double k,a,b;
    scanf("%I64d %I64d %I64d %I64d %lf",&l,&r,&x,&y,&k);

    for(i=l;i<=r;i++){
        for(j=x;j<=y;j++){
            a=i;
            b=j;
            if(b/a==k){
                c=1;
            }
            else{
                c=0;
            }
        }
    }
    if(c==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include<stdio.h>
main()
{
    float a,b,c,d,i,j,k,f=0,e;
    scanf("%f%f%f%f%f",&a,&b,&c,&d,&e);
    for(i=a;i<=b;i++)
    {
        e=e*1.0;
        k=a/e;
        if(k>=c&&k<=d)
        {
            f=1;
            printf("YES");
            break;
        }
    }
    if(f==0)
        printf("NO");
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    int i,j;
    int l,r,x,y;
    double k;
    scanf("%d %d %d %d %lf",&l,&r,&x,&y,&k);
    for(i=l;i<=r;i++)
        {
            if(i*k<=y&&i*k>=x)
            {
                printf("YES");
                exit(0);
            }
        }
    printf("NO");
    return 0;
}

#include<stdio.h>
int main()
{
    int  l, r, x, y , a ,b;
    double k ,an;
    scanf("%d %d %d %d %lf", &l, &r, &x, &y, &k);
    a=(r-l+1);
    b=(y-x+1);
    if(l<=a && a<=r && x<=b && b<=y)
    {
        an=a/b;
        if(an==k)
            printf("YES\n");

        else
            printf("NO\n");
    }
    else
        printf("NO\n");

    return 0;
}

#include <stdio.h>

int main()
{
    long long int l,r,x,y,i,j,c=0;
    double k,a,b;
    scanf("%I64d %I64d %I64d %I64d %lf",&l,&r,&x,&y,&k);

    for(i=l;i<=r;i++){
        for(j=x;j<=y;j++){
            a=i;
            b=j;
            if(a/b==k){
                c=1;
            }
            else{
                c=0;
            }
        }
    }
    if(c==1){
        printf("YES");
    }
    else{
        printf("NO");
    }
    return 0;
}

#include <stdio.h>
#define PRINT 0

int main(){
	int l,r,x,y;
	int k;
	scanf("%d %d %d %d %d",&l, &r, &x, &y, &k);
	int i,j=0;
	for(i = x; i <= y; i++){
		if(k*i >= l && k*i <= r){
			printf("YES");
			j = 1;
		}
	}
		if(j == 0)
			printf("NO");
}

#include <stdio.h>

int main() {
	int l, r, x, y, k;
	scanf("%d%d%d%d%d", &l, &r, &x, &y, &k);
	if((l/x < k || ((l/x)*x == l) && l/x <= k) && k <= r/x) {
		printf("YES\n");
	} else {
		printf("NO\n");
	}

	return 0;
}

#include <stdio.h>

int main(void){
	int l, r, x, y, k;
	scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
	if(k*x >= l && k*x <= r || k*y >= l && k*x <= r){
	    printf("YES\n");
	} else{
	    printf("NO\n");
	}
	return 0;
}

#include <stdio.h>
#define ll long long

int main()
{
	ll l, r, x, y, k;
	scanf("%I64d %I64d %I64d %I64d %I64d", &l, &r, &x, &y, &k);
	if(l > y * k)
	{
		printf("NO\n");
	}
	else if(l >= x * k && l <= y * k)
	{
		printf("YES\n");
	}
	else
	{
		if(r >= x * k && r <= y * k)
		{
			printf("YES\n");
		}
		else
		{
			printf("NO\n");
		}
	}
	return 0;
}

#include<stdio.h>
int main()
{
    int l, r, x, y, k, a, b;
    scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);
    a=(r-l+1);
    b=(y-x+1);
    if(a>=l && a<=r && x<=b && b<=y && l<=r && x<=y){
        if(a/b==k || b/a==k)
            printf("YES\n");

        else
            printf("NO\n");
    }
    else
        printf("NO\n");

    return 0;
}

#include<stdio.h>
int main()
{
    long long int l,r,x,y,k;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    if(x*k>l||y*k<r)
    {
        printf("NO\n");
    }
    else
    {
        printf("YES\n");
    }
    return 0;
}

#include <stdio.h>

typedef long long ll;

int main()
{
    ll l,r,x,y,i,j,k;
    double c;

    scanf("%I64d %I64d %I64d %I64d %I64d",&l,&r,&x,&y,&k);

    /*for(i=l; i<=r; i++)
    {
        for(j=x; j<=y; j++)
        {
            a=i;
            b=j;

        }

    }*/
    c= (r/x);

    if(c < k)
    {
        printf("NO");

    }
    else
        printf("YES");

    return 0;
}

#include<stdio.h>
#include<stdbool.h>
#define ll long long int
int main()
{
    ll l,r,x,y,k;
    scanf("%lld %lld %lld %lld %lld",&l,&r,&x,&y,&k);
    ll i;
    bool key=false;
    for(i=x;i<=y;i++)
    {
        if(i*k<=r && i*k>=x)
        {
            key=true;
            break;
        }
    }
    if(key)
        printf("YES\n");
    else
        printf("NO\n");
    return 0;
}

#include <stdio.h>

typedef long long ll;

int main()
{
    ll l,r,x,y;
    int i, j=0;
    double k;

    scanf("%I64d %I64d %I64d %I64d %lf",&l, &r, &x, &y, &k);

    for(i=x; i <= y; i++)
    {
        if(k*i >= l && k*i <=r)
            printf("YES");
        j = 1;
        break;
    }

    if(j==0)
        printf("NO");

  return 0;
}

#include<stdio.h>
int main()
{
    int  l, r, x, y, k , a ,b;
    scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);
    a=(r-l+1);
    b=(y-x+1);
    if(l<=a && a<=r && x<=b && b<=y)
    {
        if(a/b==k)
            printf("YES\n");

        else
            printf("NO\n");
    }
    else
        printf("NO\n");

    return 0;
}

#include<stdio.h>
int main(){
	int l,r,x,y,k,i;
	scanf("%d%d%d%d%d",&l,&r,&x,&y,&k);
	for(i=x;i<=y;i++){
		if(k*i >= l && k*i<=r)break;
	}
	if(i<=y)printf("YES\n");
	else printf("NO\n");
	return 0;
}

#include<stdio.h>
#include<stdlib.h>
#include<math.h>

int main()
{
    long long int   l, r, x, y;
    long long int j;
    long long int k,p,i;

    scanf("%lld %lld %lld %lld %lld",&l, &r,&x,&y,&k);
    int flag=0;

    i=l;

    while(i<=r)
    {
        p=k*i;
        j=p;
        if(p>=x && p<=y )
        {
            flag=2;
            break;
        }
        else
            i++;
    }

    if(flag==2)
        printf("YES\n");
    else
        printf("NO\n");

    return 0;

}

#include<stdio.h>
int main()
{
    long long int  l, r, x, y , a ,b, i, j, k ,an;
    scanf("%I64d %I64d %I64d %I64d %I64d", &l, &r, &x, &y, &k);
    for(i=l; i<=r; i++)
    {
        for(j=x; j<=y; j++)
        {
            an=(i/j);
            if(an==k)
            {
                printf("YES\n");
                break;
            }
        }
    }
    printf("NO\n");

    return 0;
}

#include <stdio.h>

int main(){
	int r, l, y, x, k;
	scanf("%d %d %d %d %d", &l, &r, &x, &y, &k);
	if(r/k >= x && l/k <= y)
		puts("YES");
	else
		puts("NO");

return 0;
}
/* 1505862784936 */

#include <stdio.h>

typedef long long ll;

int main()
{
    ll l,r,x,y,i,j,k,a,b;
    double c;

    scanf("%I64d %I64d %I64d %I64d %I64d",&l,&r,&x,&y,&k);

    for(i=l; i<=r; i++)
    {
        for(j=x; j<=y; j++)
        {
            a=i;
            b=j;
            c= (a/b);

        }

    }

  if(c < k)
    {
        printf("NO");

    }
    else
        printf("YES");

    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#include <string.h>
int main(int argc, char const *argv[])
{
	int l,r,x,y,k;
	scanf("%d %d %d %d %d",&l,&r,&x,&y,&k);
	int t1,t2;
	if(k>l/y&&k<r/x){
		printf("YES\n");
		return 0;
	}else if(k==l/y||k==r/x){
		printf("YES");
		return 0;
	}
	printf("NO");
	return 0;
}

#include <stdio.h>

int main()
{
	int x, y, l, r, k;
	scanf("%d%d%d%d%d", &x, &y, &l, &r, &k);
	int flag = 0;
	for (int i = l; i < r; i++)
	{
		if (k * i < y && k * i > x)
		{
			flag = 1;
			break;
		}
	}
	printf("%s\n", flag ? "YES" : "NO");
}

#include <stdio.h>

int main() {
  int l, r, x, y, ef;
  scanf("%d %d %d %d %d", &l, &r, &x, &y, &ef);

  float xp_mid, c_mid, find = 0;
  for (float i = l; i <= r; i += ef) {
    int xx = x, yy = y;
    while (xx <= yy) {
      c_mid = (xx + yy) / 2;
      // printf("%f / %f = %f\n", i, c_mid, i / c_mid);

      if (ef > i / c_mid) {
        yy = c_mid - 1;
      } else if (ef < i / c_mid) {
        xx = c_mid + 1;
      } else {
        find = 1;
        break;
      }
    }
    if (find)
      break;
  }

  /*while (l <= r) {
    xp_mid = (l + r) / 2;
    int xx = x, yy = y;
    while (xx <= yy) {
      c_mid = (xx + yy) / 2;
      printf("%f / %f = %f\n", xp_mid, c_mid, xp_mid / c_mid);

      if (ef > xp_mid / c_mid) {
        yy = c_mid - 1;
      } else if (ef < xp_mid / c_mid) {
        xx = c_mid + 1;
      } else {
        find = 1;
        break;
      }
    }

    if (find)
      break;
    else {
      if (ef > xp_mid / c_mid) {
        l = xp_mid + 1;
      } else if (ef < xp_mid / c_mid) {
        r = xp_mid - 1;
      } else {
        find = 1;
        break;
      }
    }
  }*/

  printf(find ? "YES\n" : "NO\n");

  return 0;
}