#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; auto f = [d = n](i64 n, i64 p) { return n/d + (p < (n % d)); }; rep(i, 0, n) { cout << f(r+1, i) - f(l, i) << '\n'; } return 0; } /* vim:set foldmethod=marker foldmarker=<<<,>>> : */