#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N, K;
  long long int S;
  cin >> N >> K >> S;
  for (int i = 0; i < K; i++) cout << S << " ";
  long long int S_n = (S >= 9223372036854775807 ? (S - 1) : (S + 1));
  for (int i = 0; i < N - K; i++) cout << S_n << " ";
  cout << endl;
  return 0;
}
