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