#include <bits/stdc++.h>
using namespace std;
mt19937 mrand(random_device{}());
const long long mod = 1000000007;
int rnd(int x) { return mrand() % x; }
long long powmod(long long a, long long b) {
  long long res = 1;
  a %= mod;
  assert(b >= 0);
  for (; b; b >>= 1) {
    if (b & 1) res = res * a % mod;
    a = a * a % mod;
  }
  return res;
}
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
const int SIZE = 1e6 + 10;
long long a[SIZE];
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    cout << s + 1;
    for (int i = 1; i < n; i++) {
      cout << " " << s + 1;
    }
  } else {
    cout << s;
    for (int i = 0; i < k - 1; i++) cout << " " << s;
    for (int i = 0; i < n - k; i++) cout << " " << s + 1;
  }
  return 0;
}
