#include<iostream> using namespace std; int main(){ int m = 0, t = 0, s = 0; cin>>m>>t>>s; if(t==0){ cout<<0; } else if (s%t!=0){ cout<<m-(s/t)-1; } else{ cout<<m-(s/t); } return 0; }