#include <bits/stdc++.h>
using namespace std;
using lint = long long;
const int INF = 1e9;
const lint LINF = 1e18;
const lint MOD = 1e9 + 7;
const double EPS = 1e-10;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> A(n, 0);
  if (k = 0) {
    for (int i = 0; i < n; i++) {
      A[i] = s + 1;
    }
  } else {
    for (int i = 0; i < k; i++) {
      A[i] = s;
    }
    for (int i = k; i < n; i++) {
      A[i] = s + 1;
    }
  }
  for (int i = 0; i < n; i++) {
    cout << A[i] << " ";
  }
  cout << endl;
  return 0;
}
