#include <bits/stdc++.h>
using namespace std;
using int32 = int_fast32_t;
using int64 = int_fast64_t;
const int32 INF = 1e9;
const int32 MOD = 1e9 + 7;
const int64 LLINF = 1e18;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int32 n, k, s;
  cin >> n >> k >> s;
  for (int64 i = 0; i < (k); ++i) {
    if (i != 0) cout << " ";
    cout << s;
  }
  for (int64 i = 0; i < (n - k); ++i) {
    ;
    cout << " " << ((s != 1e9) ? (s + 1) : 1e9 - 1);
  }
  cout << endl;
  return 0;
}
