#include<stdio.h>
int main()
{
int i,x,y,n,l;
double j;
scanf("%d%d%d",&n,&x,&y);
j=y/(double)x;
l=y/x;
if(j-n>0)
{
printf("0");
}
else if(j>l)
{
printf("%d",n-l-1);
}
else
{
printf("%d",n-l);
}
return 0;
}