#include <bits/stdc++.h>
using namespace std;
const int max_n = 100111, inf = 1000111222;
int n, k, s;
int main() {
  scanf("%d%d%d", &n, &k, &s);
  int x = s + 1;
  if (s == 1000000000) {
    x = 1;
  }
  for (int i = 0; i < k; ++i) {
    printf("%d ", s);
  }
  for (int i = 0; i < k; ++i) {
    printf("%d ", x);
  }
  return 0;
}
