#include <bits/stdc++.h>
using namespace std;

int main()
{
  int n, k, s;
  cin >> n >> k >> s;
  int m = s == 1000000000 ? 1 : s + 1;
  for (int i = 0; i < n; i++) {
    cout << ' ' << (i < k ? s : m);
  }
  cout << endl;
}
