#include <stdio.h>

int main()
{
  int a,b,k,i,count;

  scanf("%d%d%d",&a,&b,&k );
  for(i=a; i<=b; i++)
  {
    if(i%k == 0)
      count++;
  }
  if(count == 0)
    printf("No");
  else
    printf("Yes");

  return 0;
}
