#include <bits/stdc++.h>
using namespace std;
using lint = long long;
template <class T>
ostream &operator<<(ostream &o, const vector<T> &v) {
  o << "{";
  for (int i = 0; i < (int)v.size(); i++) o << (i > 0 ? ", " : "") << v[i];
  o << "}";
  return o;
}
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == n) {
    for (int i = 0; i < n; i++) {
      if (i == n - 1)
        cout << s << "\n";
      else
        cout << s << " ";
    }
    return 0;
  }
  int age = (s + 1) / 2;
  int sage = s / 2;
  for (int i = 0; i <= k; i++) {
    if (i % 2 == 0)
      cout << age;
    else
      cout << sage;
    if (i == n - 1)
      cout << "\n";
    else
      cout << " ";
  }
  for (int i = 0; i < n - (k + 1); i++) {
    if (s == 1000000000)
      cout << 999999999;
    else
      cout << 1000000000;
    if (i == n - (k + 1) - 1)
      cout << "\n";
    else
      cout << " ";
  }
}
