#include <bits/stdc++.h>
using namespace std;
const long long nmax = 1e9 + 7;
const long long MOD = 998244353;
const double PI = 2 * asin(1);
int main() {
  int N, K;
  long long S;
  cin >> N >> K >> S;
  if (N == K) {
    for (int i = 0; i < N; i++) {
      cout << S;
      if (i != N - 1) cout << " ";
    }
    cout << endl;
    return 0;
  }
  if (K == 0) {
    if (S != 1e9) {
      for (int i = 0; i < N; i++) {
        cout << 1000000000;
        if (i != N - 1) cout << " ";
      }
    } else {
      for (int i = 0; i < N; i++) {
        cout << 100000000 - 1;
        if (i != N - 1) cout << " ";
      }
    }
    cout << endl;
    return 0;
  }
  vector<long long> A(N);
  if (S == 1) {
    for (int i = 0; i < K; i++) {
      A[i] = 1;
    }
    for (int i = K; i < N; i++) {
      A[i] = 1e9;
    }
    for (int i = 0; i < N; i++) {
      cout << A[i];
      if (i != N - 1) cout << " ";
    }
    cout << endl;
    return 0;
  }
  A[0] = S / 2;
  for (int i = 1; i < K + 1; i++) {
    A[i] = S - A[i - 1];
  }
  for (int i = K + 1; i < N; i++) {
    A[i] = 1e9;
  }
  for (int i = 0; i < N; i++) {
    cout << A[i];
    if (i != N - 1) cout << " ";
  }
  cout << endl;
  return 0;
}
