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