#include <bits/stdc++.h>
using namespace std;
template <class T>
inline void amin(T &x, const T &y) {
  if (y < x) x = y;
}
template <class T>
inline void amax(T &x, const T &y) {
  if (x < y) x = y;
}
template <class Iter>
void rprintf(const char *fmt, Iter begin, Iter end) {
  for (bool sp = 0; begin != end; ++begin) {
    if (sp)
      putchar(' ');
    else
      sp = true;
    printf(fmt, *begin);
  }
  putchar('\n');
}
int N, K, S;
int A[100011];
void MAIN() {
  scanf("%d%d%d", &N, &K, &S);
  if (K == 0) {
    if (S == 0) {
      for (int i = 0, i_len = (N); i < i_len; ++i) A[i] = 1;
    }
  } else {
    if (S == 0) {
      int rest = K;
      int pos = 0;
      for (int m = 10000; m > 0 && rest;) {
        if (m * (m + 1) / 2 <= rest) {
          rest -= m * (m + 1) / 2;
          A[pos + m] = 1;
          pos += m + 1;
        } else {
          m--;
        }
      }
      while (pos < N) A[pos++] = 1;
    } else {
      A[0] = S;
      for (int i = K; i < N; i++) {
        A[i] = S / 2 + 10;
      }
    }
  }
  rprintf("%d", A, A + N);
}
int main() {
  int TC = 1;
  for (int tc = 0, tc_len = (TC); tc < tc_len; ++tc) MAIN();
  return 0;
}
