#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1);
const double EPS = 1e-9;
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
long long lcm(long long a, long long b) { return a / gcd(a, b) * b; }
signed main(void) {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> v(n, 0);
  v[0] = s;
  long long ma = 1000000000;
  if (s == ma) {
    for (long long i = k; i < (n); i++) v[i] = 1;
  } else {
    for (long long i = k; i < (n); i++) v[i] = ma;
  }
  for (long long i = 0; i < (n); i++) cout << v[i] << " ";
  cout << endl;
}
