#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long N, K, S, i;
  cin >> N >> K >> S;
  for (i = 0; i < K; i += 1) cout << S << " ";
  for (; i < N; i += 1) cout << S + 1 << " ";
  return 0;
}
