#include using namespace std; using ll = int64_t; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll l, r, n; cin >> l >> r >> n; for(int i = 0; i < n; ++i){ if(r % n == i){ cout << (r + n - l) / n << "\n"; } else{ cout << (r - l) / n << "\n"; } } }