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