#include <bits/stdc++.h>
using namespace std;
int ans[100010];
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < N; ++i) {
    if (i < K)
      ans[i] = S;
    else {
      if (S == 1)
        ans[i] = 2;
      else
        ans[i] = 1;
    }
  }
  cout << ans[0];
  for (int i = 1; i < N; ++i) cout << ' ' << ans[i];
  cout << endl;
  return 0;
}
