#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
const int INF = 1e9;
const long long INFLL = 1e18;
const long long MOD = 1e9 + 7;
const double PI = acos(-1.0);
const int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dy[8] = {0, 1, 0, -1, 1, 1, -1, -1};
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> A(N, S);
  if (N == K) {
    for (int i = 0; i < int(N); ++i) {
      cout << A[i] << endl;
      return 0;
    }
  }
  if (S == 1) {
    for (int i = 0; i < int(K); ++i) {
      cout << 1 << endl;
    }
    for (int i = 0; i < int(N - K); ++i) {
      cout << 1e9 << endl;
    }
    return 0;
  }
  int a = S / 2;
  int b = S - a;
  for (int i = 0; i < int(K + 1); ++i) {
    if (i % 2 == 0) {
      A[i] = a;
    } else
      A[i] = b;
  }
  for (int i = K + 1; i < N; i++) A[i] = 1e9;
  for (int i = 0; i < int(N); ++i) {
    cout << A[i] << endl;
  }
}
