#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 PI = acos(-1.0);
const long long MOD = 1e9 + 7;
int main() {
  int n, k, a, b;
  long long s;
  cin >> n >> k >> s;
  vector<long long> ans(n, s + 1);
  if (s % 2 == 1) {
    a = s / 2;
    b = s / 2 + 1;
  } else {
    a = s / 2;
    b = a;
  }
  if (k >= 2) {
    for (int i = (0); i < (k + 1); i++) {
      if (i % 2 == 0)
        ans[i] = a;
      else
        ans[i] = b;
    }
  } else if (k == 1) {
    ans[0] = a;
    ans[1] = b;
  }
  for (int i = 0; i < (n); i++) {
    cout << ans[i] << ' ';
  }
}
