#include <bits/stdc++.h>
using namespace std;
int a[100000];
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  a[0] = s;
  for (int i = n - 1; i >= k; i--) {
    a[i] = 1000000001;
  }
  for (int i = 0; i < (n); ++i) {
    cout << a[i];
    if (i < n - 1) cout << ' ';
  }
  return 0;
}
