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