#include <bits/stdc++.h>
using namespace std;
struct cww {
  cww() {
    ios::sync_with_stdio(false);
    cin.tie(0);
  }
} star;
const long long INF = numeric_limits<long long>::max();
const int MAX = 510000;
const int MOD = 1000000007;
long long fac[MAX], finv[MAX], inv[MAX];
void COMinit() {
  fac[0] = fac[1] = 1;
  finv[0] = finv[1] = 1;
  inv[1] = 1;
  for (int i = 2; i < MAX; i++) {
    fac[i] = fac[i - 1] * i % MOD;
    inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;
    finv[i] = finv[i - 1] * inv[i] % MOD;
  }
}
long long COM(int n, int k) {
  if (n < k) return 0;
  if (n < 0 || k < 0) return 0;
  return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> l(K + 1), r(K + 1), A(N);
  long long c = -1;
  for (int i = 0; i < (N); i++) {
    if (c < K) {
      if (i % 2 == 0) {
        A[i] = 1;
        c++;
      } else {
        A[i] = S - 1;
        c++;
      }
    } else {
      A[i] = 1e9;
    }
  }
  for (int i = 0; i < (N); i++) {
    cout << A[i] << endl;
  }
  return 0;
}
