#include<bits/stdc++.h> using namespace std; int n,x,y,ans; int main(){ cin>>n>>x>>y; if(y%x==0) ans=y/x; else ans=y/x+1; if(n-ans<0) cout<<0; else cout<<n-ans; return 0; }