#include <iostream> using namespace std; int main(){ int k,x,y,a,b,c; cin>>k>>x>>y; a=y/k; b=(x-1)/k; c=a-b; cout<<c; return 0; }