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