#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout << fixed << setprecision(20);
  int n, k, s;
  cin >> n >> k >> s;
  int f = s + 1;
  if (f == 1000000000) {
    f = 1;
  }
  for (int i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (int j = k; j < n; j++) {
    cout << f << " ";
  }
  cout << endl;
  return 0;
}
