#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  long long a[n];
  for (int i = 0; i < k; i++) {
    a[i] = s;
  }
  long long temp = s / (n - k);
  if (temp > 1)
    temp = 1;
  else
    temp = 10;
  for (int i = k; i < n; i++) {
    a[i] = temp;
  }
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
}
