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