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