#include <bits/stdc++.h>
using namespace std;
const long long int LINF = 1001002003004005006ll;
const int INF = 1001001001;
const int MOD = 1000000007;
int main() {
  int N, K, s;
  cin >> N >> K >> s;
  if (N == K) {
    for (int i = 0; i < (N); ++i) {
      cout << s << " ";
    }
    cout << endl;
    return 0;
  }
  for (int i = 0; i < (K - 1); ++i) {
    cout << 0 << " ";
  }
  for (int i = K - 1; i < N - 1; ++i) {
    cout << 1 << " ";
  }
  cout << s - (N - K) << endl;
  return 0;
}
