#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> A(N, S + 1);
  for (int i = 0; i <= K - 1; ++i) A[i] = S;
  for (auto i : A) cout << i << ' ';
  return 0;
}
