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