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