#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1000000007LL;
const long long INF = 1LL << 60;
using vll = vector<long long>;
using vb = vector<bool>;
using vvb = vector<vb>;
using vvll = vector<vll>;
using vstr = vector<string>;
using pair<long long, long long> = pair<long long, long long>;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vll a(n);
  long long f, ff;
  if (s % 2 == 0) {
    f = s / 2 - 1;
    ff = s / 2 + 1;
  } else {
    f = (s / 2);
    ff = (s + 1) / 2;
  }
  long long q;
  if (s == 1000000000) {
    q = s - 1;
  } else
    q = 1000000000;
  if (n != k) {
    for (long long i = 0; i < (n); i++) {
      if (i < k + 1) {
        if (i % 2 == 0) {
          a[i] = f;
        } else {
          a[i] = ff;
        }
      } else {
        a[i] = q;
      }
    }
  } else {
    for (long long i = 0; i < (n); i++) a[i] = s;
  }
  for (long long i = 0; i < (n); i++) cout << (a[i]) << endl;
}
