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