#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
using ll = long long;
unsigned gcd(unsigned a, unsigned b) {
  if (a < b) return gcd(b, a);
  unsigned r;
  while ((r = a % b)) {
    a = b;
    b = r;
  }
  return b;
}
unsigned lcm(unsigned a, unsigned b) { return a / gcd(a, b) * b; }
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> A(N);
  for (int i = 0, i_len = (N); i < i_len; ++i) {
    if (K == 0) {
      A[i] = S + 1;
      continue;
    }
    A[i] = S;
    K--;
  }
  for (int i = 0, i_len = (N); i < i_len; ++i) {
    cout << A[i] << ' ';
  }
  cout << endl;
}
