#include using namespace std; using ll = long long; using pii = pair; using vi = vector; using vl = vector; #define rep(i, n) for(ll i = 0;i < n;i++) #define all(i) i.begin(), i.end() template bool cmax(T& a, U b) { if (a bool cmin(T& a, U b) { if (a>b) {a = b; return true;} else return false; } int main() { cin.tie(0); ios::sync_with_stdio(false); ll l, r, n; cin >> l >> r >> n; vector ans(n); int cnt = 0; for(ll i = l; i%n != 0; i++) { ans[i%n]++; cnt++; } for(ll i = r; i%n != n-1; i--) { ans[i%n]++; cnt++; } ll base = (r-l+1-cnt)/n; rep(i, n) { cout << ans[i] + base << endl; } }