#include <bits/stdc++.h>
const int inf = (1 << 30);
const int mod = 1000000007;
using ll = long long;
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    if (s == 1e9) {
      for (int i = 0; i < n; ++i) {
        cout << 999999999 << ' ';
      }
      cout << endl;
      return 0;
    } else {
      for (int i = 0; i < n; ++i) {
        cout << 1000000000 << ' ';
      }
      cout << endl;
      return 0;
    }
  }
  int t = s / (n - k + 1);
  int r = s % (n - k + 1);
  for (int i = 0; i < n; ++i) {
    int bzh = t;
    if (i % (n - k + 1) == 0) {
      bzh += r;
    }
    cout << bzh << ' ';
  }
  cout << endl;
}
