#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K;
  cin >> N >> K;
  int64_t S;
  cin >> S;
  for (int i = 0; i < K; ++i) {
    cout << S << " ";
  }
  for (int i = 0; i < N - K; ++i) {
    cout << S + 1 << " ";
  }
}
