#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
inline long long toLL(string s) {
  long long v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
template <typename T1, typename T2>
inline bool chmax(T1 &a, T2 b) {
  return a < b && (a = b, true);
}
template <typename T1, typename T2>
inline bool chmin(T1 &a, T2 b) {
  return a > b && (a = b, true);
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < (long long)(n); i++) {
    if (k > 0) {
      cout << s << " ";
      k--;
    } else {
      if (s % 2 == 0)
        cout << (s / 2) + 1 << " ";
      else
        cout << s / 2 << " ";
    }
  }
  cout << endl;
  return 0;
}
