#include <bits/stdc++.h>
using namespace std;
const int INF = 100000000;
const long long LINF = 1e18 + 5;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  if (K == 1) {
    cout << S << " ";
    for (long long i = 1; i < N; i++) cout << (S + 1) % 1000000000 << " ";
    cout << endl;
    return 0;
  }
  if (S == 1) {
    for (long long i = 0; i < K; i++) cout << 1 << " ";
    for (long long i = K; i < N; i++) cout << 2 << " ";
    cout << endl;
    return 0;
  }
  long long b = S - 1;
  for (long long i = 0; i < N; i++) {
    if (i <= K) {
      if (i % 2 == 0)
        cout << 1 << " ";
      else
        cout << b << " ";
    } else {
      cout << 1000000000 << endl;
    }
  }
  return 0;
}
