#include <bits/stdc++.h>
using namespace std;
signed main() {
  int n, k, s, a, b;
  cin >> n >> k >> s;
  b = 1, a = s - n + k;
  while (a == 0 || b == a) {
    a -= n - k, b++;
  }
  for (int i = 0; i < n; i++) {
    if (i % (n - k + 1) == 0)
      cout << a;
    else
      cout << b;
    if (i < n - 1)
      cout << ' ';
    else
      cout << endl;
  }
  return (0);
}
