#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> arr(N, 0);
  int setNum = N - K + 1;
  int ave = S / setNum;
  int res = S % setNum;
  if (K == 0 && S != 1000000000) {
    for (int i = 0; i < N; i++) {
      cout << 1 + S << " ";
    }
  } else if (K == 0) {
    for (int i = 0; i < N; i++) {
      cout << 1 << " ";
    }
  } else {
    for (int i = 0; i < N; i++) {
      if (i < res) {
        arr[i] = ave + 1;
      } else if (i < setNum) {
        arr[i] = ave;
      } else {
        arr[i] = arr[i - setNum];
      }
    }
    for (auto x : arr) cout << x << " ";
  }
  cout << endl;
}
