#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int mod = 1e9 + 7;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> A(N + 1);
  for (int i = 1; i <= K; i++) A[i] = S;
  for (int i = K + 1; i <= N; i++) {
    if (S == 1)
      A[i] = S + 2;
    else
      A[i] = S + 1;
  }
  for (int i = 0; i < N; i++) {
    cout << A[i + 1] - A[i] << " ";
  }
  cout << endl;
}
