#include <bits/stdc++.h>
using namespace std;
const long long MAX = 1000 * 1000;
const int dx[] = {1, -1, 0, 0};
const int dy[] = {0, 0, 1, -1};
const int MOD = 1000 * 1000 * 1000 + 7;
const int N = 301;
const int INF = INT_MAX;
const int M = 200005;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  std::vector<int> v(n, M);
  int l = k % 2 == 0 ? k : k + 1;
  int a = s / 2;
  int b = s / 2 + s % 2;
  int idx = 0;
  for (int i = 1; 2 * i <= l; ++i) {
    v[idx++] = a;
    v[idx++] = b;
  }
  if (k % 2 == 0) v[idx] = s;
  for (auto &x : v) cout << x << " ";
  return 0;
}
