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