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