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