#include <bits/stdc++.h>
using namespace std;
int n, k, s;
inline int read() {
  int s = 0, t = 1;
  char c = getchar();
  while ((c < '0' || c > '9') && c != '-') c = getchar();
  if (c == '-') c = getchar(), t = -1;
  while (c >= '0' && c <= '9')
    s = (s << 1) + (s << 3) + (c ^ 48), c = getchar();
  return s * t;
}
int main(void) {
  n = read();
  k = read();
  s = read();
  for (int i = 1; i <= k; i++) printf("%d ", s);
  for (int i = k + 1; i <= n; i++) printf("%d ", s + 1);
}
