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