#include <bits/stdc++.h>
using namespace std;
const int c_YET = -1;
const int INF = 1e9 + 1;
const long long LLINF = 1e17 + 1;
const int DX[9] = {0, 0, 1, -1, 1, 1, -1, -1, 0};
const int DY[9] = {1, -1, 0, 0, 1, -1, 1, -1, 0};
const long long MOD = 1e9 + 7;
const double PI = 3.14159265358979323846264338327950288;
int main() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(30);
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> ans(N);
  if (S % 2 == 0) {
    for (int i = 0; i < K + 1; i++) {
      ans[i] = S / 2;
    }
    for (int i = K + 1; i < N; i++) {
      ans[i] = 1000000000;
    }
  } else {
    long long before = S / 2;
    long long after = S - before;
    for (int i = 0; i < K + 1; i++) {
      if (i % 2 == 0) {
        ans[i] = before;
      } else {
        ans[i] = after;
      }
    }
    for (int i = K + 1; i < N; i++) {
      ans[i] = 1000000000;
    }
  }
  for (int i = 0; i < N; i++) {
    cout << ans[i] << " ";
  }
}
