#include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 60;
const double PI = acos(-1);
template <class T>
void printVec(vector<T> &vec) {
  size_t len = vec.size();
  for (long long i = 0; i < len; i++) {
    if (i) cout << " ";
    cout << vec[i];
  }
  cout << "\n";
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(20);
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> vec(N, INF);
  for (long long i = 0; i < K; i++) {
    vec[i] = S;
  }
  printVec(vec);
  return 0;
}
