#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  if (S != 1e9) {
    for (ll i = 0; i < (K); ++i) {
      cout << K << " ";
    }
    for (ll i = 0; i < (N - K); ++i) {
      cout << 1000000000 << " ";
    }
  } else {
    for (ll i = 0; i < (K); ++i) {
      cout << K << " ";
    }
    for (ll i = 0; i < (N - K); ++i) {
      cout << 1 << " ";
    }
  }
  cout << endl;
  return 0;
}
