#include "bits/stdc++.h" using namespace std; using ll = long long; int INF = numeric_limits::max() / 2; ll LINF = numeric_limits::max() / 2; int MOD = 1e9 + 7; int main(){ cin.tie(0); ios::sync_with_stdio(false); ll l, r, n; cin >> l >> r >> n; int ln = l % n, rn = r % n; ll base = (r - l + 1 - (n - ln) - rn) / n; if(l == r){ for(int i = 0; i < n; i++){ if(l % n == i){ cout << 1 << '\n'; }else{ cout << 0 << '\n'; } } }else{ for(int i = 0; i < n; i++){ ll temp = base; if(i <= rn) temp++; if(i >= ln) temp++; cout << temp << '\n'; } } }