#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  const int max_v = 1e9;
  int x = max_v;
  if (s == max_v) x = 1;
  cout << s << " ";
  for (int i = 0; i < k - 1; i++) {
    cout << 0 << " ";
  }
  for (int i = 0; i < n - k - 1; i++) {
    cout << x << " ";
  }
  cout << x << endl;
  return 0;
}
