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