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