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