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