#include <bits/stdc++.h>
bool check1(int a) { return (a & (a - 1)) == 0 ? true : false; }
using namespace std;
const int INF = 0x3f3f3f3f;
const int mod = 1e9 + 7;
const int Maxn = 1e5 + 5;
const int M = Maxn * 20;
const double pi = acos(-1.0);
const double eps = 1e-8;
int a[Maxn], k = 1;
int main() {
  long long n, k, s;
  scanf("%lld", &n), scanf("%lld", &k), scanf("%lld", &s);
  for (int i = 1; i <= k; i++) {
    if (i == 1)
      printf("%d", s);
    else
      printf(" %d", s);
  }
  for (int i = 1; i <= n - k; i++) {
    printf(" %d", s + 1);
  }
}
