#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  if (s == 1000000000) {
    for (int i = 0; i < n; i++) {
      printf("1 ");
    }
    printf("\n");
    return 0;
  }
  for (int i = 0; i < n; i++) {
    ll tmp = 0;
    if (k > 0)
      tmp = s;
    else
      tmp = s + 1;
    printf("%d ", tmp);
    k--;
  }
  printf("\n");
  return 0;
}
