#include <bits/stdc++.h>
using namespace std;
int n, k, s;
inline int read() {
  int x = 0;
  int flag = 0;
  char ch;
  ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') flag = 1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    x = (x << 3) + (x << 1) + ch - 48;
    ch = getchar();
  }
  if (flag == 1) x = -x;
  return x;
}
int main() {
  n = read();
  k = read();
  s = read();
  int t1, t2;
  if (s & 1) {
    t1 = s / 2;
    t2 = t1 + 1;
  } else {
    t1 = t2 = s / 2;
  }
  for (register int i = 1; i <= n; i++) {
    if (i - 1 > k) {
      printf("%d ", s + 1);
      continue;
    }
    if (i & 1)
      printf("%d ", t1);
    else
      printf("%d ", t2);
  }
  return 0;
}
