#include using namespace std; typedef long long ll; int main(){ ios::sync_with_stdio(false); cin.tie(0); ll l,r,n; cin>>l>>r>>n; vector v; ll a = r/n - (l-1)/n; ll b = r%n; ll c = (l-1)%n; if(n==1){ cout << a <<"\n"; return 0; } for(int i=0;i