#include <bits/stdc++.h>
using namespace std;
int n, m;
long long sum;
int main() {
  scanf("%d%d%lld", &n, &m, &sum);
  int f = 0, flag = 0;
  while (f < n) {
    f++;
    if ((n - f) == (m - 1)) {
      printf("%lld ", sum - f + 1);
      flag = 1;
      continue;
    }
    if (flag == 0) {
      printf("%d ", 1);
    } else {
      printf("%lld ", sum);
    }
  }
  printf("\n");
  return 0;
}
