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