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