#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int maxs = 1e9;
  if (n == k) {
    for (int i = 0; i < (n); i++) cout << s << " ";
    cout << endl;
    return 0;
  }
  if (s == maxs) maxs--;
  if (s % 2 == 0) {
    for (int i = 0; i < (k + 1); i++) cout << s / 2 << " ";
    for (int i = 0; i < (n - k - 1); i++) cout << maxs << " ";
  } else {
    for (int i = 0; i < (k + 1); i++) {
      if (i % 2 == 0)
        cout << (s + 1) / 2 << " ";
      else
        cout << s / 2 << " ";
    }
    for (int i = 0; i < (n - k - 1); i++) cout << maxs << " ";
  }
  cout << endl;
  return 0;
}
