#include <bits/stdc++.h> using namespace std; int main() { int m,t,s,b,c; cin>>m>>t>>s; if(t==0) { c=0; } else if(s%t!=0) { b=s/t; c=m-b-1; } else { b=s/t; c=m-b; if(c<0) { c=0; } } cout<<c; return 0; }