#include <bits/stdc++.h>
using namespace std;
int INF = 1 << 30;
int main() {
  int n;
  int m;
  int sum;
  scanf("%d%d%d", &n, &m, &sum);
  int a[n];
  int k = 0;
  for (int i = 0; i < m - 1; i++) {
    a[i] = sum;
    k++;
  }
  if (k == m - 1) a[k] = sum;
  for (int i = m; i < n; i++) a[i] = INF;
  for (int j = 0; j < n; j++) {
    printf("%d ", a[j]);
  }
  return 0;
}
