#include <bits/stdc++.h>
using namespace std;
template <class T>
inline void read(T &x) {
  x = 0;
  char c = getchar();
  int f = 1;
  while (!isdigit(c)) {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (isdigit(c)) {
    x = x * 10 + c - '0';
    c = getchar();
  }
  x *= f;
}
template <class T>
T gcd(T a, T b) {
  return !b ? a : gcd(b, a % b);
}
template <class T>
inline void umin(T &x, T y) {
  x = x < y ? x : y;
}
template <class T>
inline void umax(T &x, T y) {
  x = x > y ? x : y;
}
inline unsigned int R() {
  static unsigned int seed = 416;
  return seed ^= seed >> 5, seed ^= seed << 17, seed ^= seed >> 13;
}
const int N = 666666;
int n, k, s, a[N];
int main() {
  read(n);
  read(k);
  read(s);
  if (!k) {
    int x = 1e9;
    if (x == s) x--;
    for (register int i = (1); i <= (n); i++) printf("%d ", x);
    return 0;
  }
  a[1] = s;
  for (register int i = (2); i <= (k); i++) a[i] = 0;
  for (register int i = (k + 1); i <= (n); i++)
    a[i] = (s != 1e9) ? 1e9 : 1e9 - 1;
  for (register int i = (1); i <= (n); i++) printf("%d ", a[i]);
  return 0;
}
