#include <bits/stdc++.h>
using namespace std;
inline int read() {
  register int x = 0, f = 1;
  register char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') x = x * 10 + c - 48, c = getchar();
  return x * f;
}
inline int Mul(int a, int b) { return 1ll * a * b % 1000000007; }
inline int Inc(int a, int b) {
  return (a += b) >= 1000000007 ? a - 1000000007 : a;
}
inline int Dec(int a, int b) { return (a -= b) < 0 ? a + 1000000007 : a; }
inline int qpow(int a, int b) {
  int r = 1;
  while (b) {
    if (b & 1) r = Mul(r, a);
    a = Mul(a, a), b >>= 1;
  }
  return r;
}
int n, m, c;
int main() {
  n = read(), m = read(), c = read();
  for (int i = (1), iLimit = (m); i <= iLimit; ++i) printf("%d ", c);
  for (int i = (1), iLimit = (n - m); i <= iLimit; ++i) printf("%d ", c + 1);
  return 0;
}
