#include<cstdio> int main() { int m,t,s; scanf("%d%d%d",&m,&t,&s); int d =s/t; int e = m -d; if(m==0||t==0||e<=0) { printf("0"); }else { if(s%t==0) { printf("%d",m-d); }else { printf("%d",m-d-1); } } return 0; }