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