#include <bits/stdc++.h>
using namespace std;
static const int MAX = 10010;
static const long long INFTY = 1e12;
static const long long NUMMAX = 1000000007;
static const long long MOD = 1000000007;
int main() {
  long long N, K, S;
  long long num;
  long long count = 0;
  cin >> N >> K >> S;
  vector<long long> A(N);
  for (int i = 0, i_len = (N); i < i_len; ++i) {
    if (i < K) {
      cout << S;
    } else {
      cout << S + 1;
    }
    cout << " ";
  }
  cout << endl;
  return 0;
}
