#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 10;
int a[maxn];
int n, k, s;
int main() {
  scanf("%d%d%d", &n, &k, &s);
  for (int i = 1; i <= k; i++) a[i] = s;
  for (int i = k + 1; i <= n; i++) a[i] = 1000000000;
  for (int i = 1; i < n; i++) printf("%d ", a[i]);
  printf("%d", a[n]);
  return 0;
}
