#include <bits/stdc++.h>
using namespace std;
void faster() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
const long long INF = 1e9;
const long long MOD = 1e9 + 7;
const long long MAXN = 3e5 + 123;
const long double EPS = 1e-12;
const int dx[4] = {-1, 0, 0, 1};
const int dy[4] = {0, -1, 1, 0};
long long n, k, s;
void solve() {
  cin >> n >> k >> s;
  long long q = s / 2, p = s - q;
  if (n == k) {
    for (int i = 1; i <= n; ++i) {
      cout << s << ' ';
    }
    return;
  }
  if (k == 0) {
    for (int i = 1; i <= n; ++i) {
      cout << 0 << ' ';
    }
    return;
  }
  for (int i = 1; i <= k + 1; ++i) {
    cout << ((i & 1) ? q : p) << ' ';
  }
  for (int i = k + 2; i <= n; ++i) {
    cout << INF - (s == INF) << ' ';
  }
}
int main() {
  faster();
  int T = 1;
  while (T--) {
    solve();
  }
  return 0;
}
