#include <bits/stdc++.h>
using namespace std;
long long MOD = 1000000007;
const long long dx[4] = {1, 0, -1, 0};
const long long dy[4] = {0, 1, 0, -1};
signed main() {
  long long N, K, S;
  cin >> N >> K >> S;
  long long ans[N + 1];
  for (long long i = 1; i <= K; i++) {
    ans[i] = S;
  }
  long long a = 0;
  if (S == 1) {
    a = 2;
  } else {
    a = 1;
  }
  for (long long i = K + 1; i <= N; i++) {
    ans[i] = a;
  }
  for (long long i = 1; i <= N; i++) {
    cout << ans[i] << " ";
  }
  cout << endl;
  return 0;
}
