#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  int a = s / (n - k + 1);
  int rem = s - a * (n - k + 1);
  for (int i = 0; i < n - k; i++) printf("%d ", a);
  for (int i = n - k; i < n; i++) {
    if ((i - (n - k)) % (n - k + 1) == 0)
      printf("%d ", a + rem);
    else
      printf("%d ", a);
  }
}
