#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  cin >> n >> k;
  long s;
  cin >> s;
  int j = k;
  while (j--) {
    cout << s << " ";
  }
  k = n - k;
  while (k--) {
    cout << s + 1 << " ";
  }
  return 0;
}
