#include <bits/stdc++.h>
using namespace std;
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
const double EPS = 1e-9;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  if (K == 0) {
    if (S == 10e+9) {
      for (int i = 0; i < (int)(N); i++) cout << 1 << " ";
    } else {
      for (int i = 0; i < (int)(N); i++) cout << S + 1 << " ";
    }
    cout << endl;
    return 0;
  }
  for (int i = 0; i < (int)(K - 1); i++) cout << S << " ";
  cout << S;
  if (S == 10e+9) {
    for (int i = K; i < N; i++) cout << " " << 1;
  } else {
    for (int i = K; i < N; i++) cout << " " << S + 1;
  }
  cout << endl;
}
