#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int p = n - k + 1;
  if (s % p == 0) {
    for (int i = 0; i < n; i++) {
      if (i == 0)
        cout << s / p;
      else
        cout << " " << s / p;
    }
  } else {
    for (int i = 0; i < n; i++) {
      if (i == 0)
        cout << s / p + s % p;
      else {
        if (i % p == 0)
          cout << " " << s / p + s % p;
        else
          cout << " " << s / p;
      }
    }
  }
  cout << endl;
  return 0;
}
