#include <bits/stdc++.h>
using namespace std;
const long long INF = (long long)1e9;
const long long MOD = (long long)1e9 + 7;
const long long MAX = 100100;
vector<int> dx = {1, 0, -1, 0}, dy = {0, 1, 0, -1};
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  for (long long i = 0; i < N; i++) {
    if (S != INF) {
      if (i == 0)
        cout << S;
      else if (i < K)
        cout << "0";
      else
        cout << INF;
    } else {
      if (i == 0)
        cout << INF - 1;
      else if (i == 1)
        cout << "1";
      else
        cout << INF - 2;
    }
    if (i != N - 1) cout << " ";
  }
  cout << endl;
}
