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