#include <bits/stdc++.h>
using namespace std;
const int N = 100400, M = 1e9;
int n, k, s, m;
vector<int> ans;
void out() {
  for (auto x : ans) cout << x << " ";
  cout << endl;
}
int main() {
  ios::sync_with_stdio(0);
  cin >> n >> k >> s;
  if (k == n) {
    for (int i = 0; i < n; i++) ans.push_back(s);
    out();
    return 0;
  }
  if (k == 0) {
    int t = s == M ? 1 : s + 1;
    for (int i = 0; i < n; i++) ans.push_back(t);
    out();
    return 0;
  }
  if (s == 1) {
    for (int i = 0; i < k; i++) ans.push_back(1);
    while (ans.size() < n) ans.push_back(M);
    out();
    return 0;
  }
  for (int i = 0; i <= k; i++) {
    if (i % 2) {
      ans.push_back(1);
    } else {
      ans.push_back(s - 1);
    }
  }
  int t = s == M ? M - 1 : s + 1;
  while (ans.size() < n) ans.push_back(t);
  out();
  return 0;
}
