#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  for (int i = 1; i <= k - 1; i++) printf("%d ", s);
  printf("%d", s);
  int t;
  if (s == 1e9)
    t = s - 1;
  else
    t = 1e9;
  for (int i = k + 1; i <= n; i++) printf(" %d", t);
  return 0;
}
