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