#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
template <class T>
inline T sqr(T x) {
  return x * x;
}
const double EPS = 1e-10;
const double PI = acos(-1.0);
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long n, s, k;
  cin >> n >> k >> s;
  for (long long i = 0; i < n; i++) {
    if (i <= k - 1)
      cout << s << " ";
    else
      cout << s + 1 << " ";
  }
  cout << endl;
  return 0;
}
