#include #define rep(i, a, n) for(int i = a; i < n; i++) #define int long long using namespace std; typedef pair P; const int mod = 1000000007; const int INF = 1e18; int calc(int x, int r, int n){ int now = (x - r) / n * n + r; if(now > x) return now; return now + n; } signed main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int l, r, n; cin >> l >> r >> n; for(int i = 0; i < n; i++){ cout << (calc(r, i, n) - calc(l - 1, i, n)) / n << endl; } }