#include <bits/stdc++.h>
using namespace std;
int N, K, S;
int MAX = 1000000000;
int out_num = 0;
void out(int x) {
  if (out_num == 0) {
    out_num = 1;
  } else {
    cout << " ";
  }
  cout << x;
}
int main() {
  int N;
  cin >> N >> K >> S;
  int x = S;
  int y = S + 1;
  if (x == MAX) {
    y = 0;
  }
  for (int i = 0; i < K; i++) {
    out(x);
  }
  for (int i = 0; i < N - K; i++) {
    out(y);
  }
  return 0;
}
