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