#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cout.tie(0);
  cin.tie(0);
  int n, k, s, z;
  cin >> n >> k >> s;
  for (int i = 1; i <= k; i++) cout << s << " ";
  if (s = 1000000000)
    z = 1;
  else
    z = s + 1;
  for (int i = k + 1; i <= n; i++) {
    cout << z << " ";
  }
}
