#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n, k, second;
  cin >> n >> k >> second;
  if (k > n / 2) {
    for (long long i = 0; i < k; i++) cout << second << ' ';
    for (long long i = 0; i < n - k; i++) cout << 1 << ' ';
    cout << '\n';
  } else {
    long long x = second / 2;
    for (long long i = 0; i < k; i++) cout << x << ' ';
    for (long long i = 0; i < k; i++) cout << second - x << ' ';
    for (long long i = 0; i < n - 2 * k; i++) cout << 1 << '\n';
  }
}
