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