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