#include <bits/stdc++.h>
using namespace std;
using p = pair<long long, long long>;
long long dx[4] = {-1, 0, 1, 0};
long long dy[4] = {0, 1, 0, -1};
int main(void) {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < n; i++) {
    if (i < k)
      cout << s << " ";
    else
      cout << s + 1 << " ";
  }
  cout << endl;
  return 0;
}
