#include <bits/stdc++.h>
using namespace std;
const int inf = 1 << 29;
const long long INF = 1ll << 60;
const double pi = acos(-1);
const double eps = 1e-9;
const long long mod = 1e9 + 7;
const int dx[4] = {-1, 0, 1, 0}, dy[4] = {0, -1, 0, 1};
const int M = 1e9;
int n, k, s;
int main() {
  cin >> n >> k >> s;
  vector<int> a(n);
  if (k == n)
    a = vector<int>(n, s);
  else {
    a[0] = 1;
    for (int i = 1; i <= k; i++) a[i] = s - a[i - 1];
    for (int i = k + 1; i < n; i++) a[i] = (s == M ? M - 2 : M);
  }
  for (int i = 0; i < n; i++) cout << a[i] << " \n"[i == n - 1];
}
