#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9 + 7;
const long long INF = 1e18;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v(n, 1000000000);
  if (s < 1000000000) {
    if (k > 0) {
      v[0] = s;
      for (int i = 1; i < k; i++) v[i] = 0;
    }
  } else {
    for (int i = 0; i < n; i++) v[i] = 1;
    if (k > 0) {
      v[0] = s;
      for (int i = 1; i < k; i++) v[i] = 0;
    }
  }
  for (int& t : v) cout << t << ' ';
  cout << endl;
  return 0;
}
