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