#include using namespace std; int main(){ long long l, r; int n; cin >> l >> r >> n; r++; for (int i = 0; i < n; i++){ cout << (r + 1 - i) / n - (l + 1 - i) / n << endl; } }