#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
int main() {
  long long n, k, s;
  scanf("%ld%ld%ld", &n, &k, &s);
  n = n - k;
  while (k--) printf("%ld ", s);
  if (s > 100000)
    s = 1;
  else
    s++;
  n--;
  while (n--) printf("%ld ", s);
  printf("%ld\n", s);
  return 0;
}
