#include <bits/stdc++.h>
using namespace std;
long long a[1000005];
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) {
    a[i] = s;
  }
  for (int i = k; i < n; i++) {
    a[i] = 1000000005;
  }
  for (int i = 0; i < n; i++) cout << a[i] << " ";
  return 0;
}
