#include "bits/stdc++.h" // Custom Header <<< #define ALL(x) x.begin(), x.end() #define rep(i, s, n) for(int i(s); i < int(n); ++i) #ifndef YDK #define eprintf(...) #endif using namespace std; using i64 = long long; using pii = pair; templateinline bool chmax(A &a, const B &b){return b>a ? a=b,1 : 0;} templateinline bool chmin(A &a, const B &b){return b>> signed main() { i64 l, r, n; cin >> l >> r >> n; for (int p = 0; p < n; ++p) { const i64 L = l - p; const i64 R = r - p; cout << (R / n) - ((L + n - 1) / n) + 1 << '\n'; } return 0; } /* vim:set foldmethod=marker foldmarker=<<<,>>> : */