#include using namespace std; #define FOR(i,s,t) for(int i = s; i < t; i++) using LL = long long; int main() { LL L, R, N; cin >> L >> R >> N; auto f = [&N](LL x) { vectorres(N, x / N); FOR(i, 0, x%N+1) { res[i]++; } return res; }; auto rv = f(R); auto lv = f(L - 1); FOR(i, 0, N) { cout << rv[i] - lv[i] << endl; } }