#include <bits/stdc++.h>
using namespace std;
long long arr[2000000];
int main() {
  long long n, s, k, i, j, x;
  x = 1e9 + 5;
  cin >> n >> s >> k;
  for (i = 0; i < s; i++) {
    arr[i] = k;
  }
  for (i = s; i < n; i++) {
    arr[i] = x;
  }
  for (i = 0; i < n; i++) {
    cout << arr[i] << " ";
  }
  cout << endl;
}
