#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long inf = 1LL << 60;
const double eps = 1e-9;
int main() {
  long long N, K, S, tmp = 10 ^ 9;
  cin >> N >> K >> S;
  if (S == 10 ^ 9) tmp = 1;
  for (int i = 0; i < K; i++) cout << S << " ";
  for (int i = K; i < N; i++) cout << tmp << " ";
  return 0;
}
