#include <stdio.h>
int main() 
{
	int sum,eqtime,time,rem;
	scanf("%d%d%d",&sum,&eqtime,&time);
	if(time%eqtime==0)
	{
		rem=sum-time/eqtime;
	}
	else
	{
		rem=sum-1-time/eqtime;
	}
	printf("%d",rem);
	return 0;
}