#include <bits/stdc++.h>
using namespace std;
const long long INF = 2e18;
const long long MOD = 1e9 + 7;
long long N, K, S;
int main() {
  cin >> N >> K >> S;
  if (N == K) {
    for (long long i = 0; i < N; i++) {
      cout << S << " ";
    }
    cout << endl;
  } else {
    for (long long i = 0; i < K + 1; i++) {
      if (i % 2 == 0) {
        cout << S / 2 << " ";
      } else {
        cout << (S + 1) / 2 << " ";
      }
    }
    const long long MAX = 1000000000;
    for (long long i = K + 1; i < N; i++) {
      cout << ((S == MAX) ? 1 : MAX) << " ";
    }
    cout << endl;
  }
  return 0;
}
