#include <bits/stdc++.h>
using namespace std;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < K; i++) {
    cout << S << " ";
  }
  for (int i = 0; i < N - K; i++) {
    cout << 1001001001 + 10 << " ";
  }
  return 0;
}
