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