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