#include <bits/stdc++.h>
using namespace std;
template <class A, class B>
ostream& operator<<(ostream& out, const pair<A, B>& a) {
  return out << "(" << a.first << ", " << a.second << ")";
}
template <int>
ostream& operator<<(ostream& os, const vector<int>& v) {
  os << "[";
  for (int i = 0; i < v.size(); ++i) {
    if (v[i] != 1000000001)
      os << v[i];
    else
      os << "INF";
    if (i != v.size() - 1) os << ", ";
  }
  os << "]\n";
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& v) {
  os << "[";
  for (int i = 0; i < v.size(); ++i) {
    os << v[i];
    ;
    if (i != v.size() - 1) os << ", ";
  }
  os << "]\n";
  return os;
}
int main() {
  {
    ios::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
  };
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v(n);
  v[0] = s;
  for (int i = k; i < n; i++) {
    if (s != 1e9)
      v[i] = 1e9;
    else
      v[i] = 1e9 - 1;
  }
  for (int i = 0; i < n; i++) cout << v[i] << " ";
  cout << endl;
  return 0;
}
