#include <bits/stdc++.h>
using namespace std;
const long long zero = 0;
const long long INF = 3000000000000000000;
const long long MOD = 1000000007;
const long long MOD2 = 998244353;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  if (S == 1000000000) {
    printf("%lld ", S);
    for (long long i = 1; i < K; i++) {
      printf("0 ");
    }
    for (long long i = K; i < N; i++) {
      printf("1 ");
    }
  } else {
    printf("%lld ", S);
    for (long long i = 1; i < K; i++) {
      printf("0 ");
    }
    for (long long i = K; i < N; i++) {
      printf("1000000000 ");
    }
  }
}
