#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  if (k == 0) {
    for (int i = 1; i <= n; i++) printf("%d%c", 0, " \n"[i == n]);
    return 0;
  }
  int num = n - k + 1;
  int x = s / num;
  int y = x + s % num;
  for (int i = 1; i <= n; i++)
    printf("%d%c", i % num == 0 ? y : x, " \n"[i == n]);
  return 0;
}
