#include <bits/stdc++.h>
using namespace std;
int main() {
  long n, k, s;
  cin >> n >> k >> s;
  long p = n - k + 1;
  if (k != 0) {
    if (s % p == 0) {
      for (int i = 0; i < n; i++) {
        if (i == 0)
          cout << s / p;
        else
          cout << " " << s / p;
      }
    } else {
      for (int i = 0; i < n; i++) {
        if (i == 0)
          cout << s / p + s % p;
        else {
          if (i % p == 0)
            cout << " " << s / p + s % p;
          else
            cout << " " << s / p;
        }
      }
    }
  } else {
    int t = 1;
    while (s % t == 0) {
      t++;
    }
    for (int i = 0; i < n; i++) {
      if (i == 0)
        cout << t;
      else
        cout << " " << t;
    }
  }
  cout << endl;
  return 0;
}
