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