#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7, inf = 0x3f3f3f3f, maxn = 1e5 + 5;
int n, m, Q, K, S;
int read() {
  int x = 0, f = 1;
  char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    x = (x << 1) + (x << 3) + c - '0';
    c = getchar();
  }
  return x * f;
}
signed main() {
  n = read();
  K = read();
  S = read();
  if (K == n) {
    for (int i = 1; i <= n; ++i) cout << S << " ";
  } else {
    if (S % 2 == 0) {
      for (int i = 1; i <= K + 1; ++i) cout << S / 2 << " ";
      for (int i = K + 2; i <= n; ++i) cout << inf << " ";
    } else {
      for (int i = 1; i <= K + 1; i++) {
        cout << S / 2 + (i % 2) << " ";
      }
      for (int i = K + 2; i <= n; ++i) cout << inf << " ";
    }
  }
  return 0;
}
