#include <bits/stdc++.h>
using namespace std;
int read() {
  int sum = 0, f = 1;
  char s = getchar();
  while (s < '0' or s > '9') {
    if (s == '-') f = -1;
    s = getchar();
  }
  while (s >= '0' and s <= '9') {
    sum = sum * 10 + s - '0';
    s = getchar();
  }
  return sum * f;
}
int n, k, s;
int main() {
  n = read();
  k = read();
  s = read();
  if (k) {
    for (int i = 1; i <= k; i++) cout << s << " ";
    for (int i = 1; i <= n - k; i++) cout << s + 1 << " ";
  } else {
    for (int i = 1; i <= n; i++) cout << s + 1 << " ";
  }
  return 0;
}
