#include <bits/stdc++.h>
using namespace std;
long long gi() {
  char cc = getchar();
  long long cn = 0, flus = 1;
  while (cc < '0' || cc > '9') {
    if (cc == '-') flus = -flus;
    cc = getchar();
  }
  while (cc >= '0' && cc <= '9') cn = cn * 10 + cc - '0', cc = getchar();
  return cn * flus;
}
const long long N = 1e5 + 5;
long long n, m, S;
signed main() {
  n = gi(), m = gi(), S = gi();
  long long maxn = 1000000000;
  if (S != maxn) {
    for (register long long i = 1; i <= m; ++i) printf("%lld ", S);
    for (register long long i = m + 1; i <= n; ++i) printf("%lld ", maxn);
  } else {
    if (m == n)
      for (register long long i = 1; i <= m; ++i) printf("%lld ", S);
    else {
      printf("1 ");
      long long cnt = 0;
      for (register long long i = 1; i <= m; ++i) {
        cnt ^= 1;
        if (cnt == 0)
          printf("1 ");
        else
          printf("%lld ", maxn);
      }
      for (register long long i = m + 2; i <= n; ++i) {
        if (cnt == 0)
          printf("%lld ", 1);
        else
          printf("%lld ", maxn);
      }
    }
  }
  return 0;
}
