#include using namespace std; using ll = long long; int main(void) { ll l, r, n; cin >> l >> r >> n; assert(1 <= l && l <= r && r <= 1e18 && 1 <= n && n <= 100000); r++; for (int i = 0; i < n; i++) cout << r / n + (i < (r % n)) - l / n - (i < (l % n)) << endl; return 0; }