#include <bits/stdc++.h>
static const int MAX = 100000;
static const int NIL = -1;
using namespace std;
int main() {
  long long n, s, k;
  cin >> n >> k >> s;
  long long p = 1;
  long long c = s / k;
  long long d = s - c * (k - 1);
  for (int i = 0; i < (int)(n); i++) {
    if (p >= k) {
      cout << d << " ";
      p = 1;
    } else {
      cout << c << " ";
      p++;
    }
  }
  return 0;
}
