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