#include <bits/stdc++.h>
using namespace std;
vector<int> a;
int n, k, s;
int main() {
  cin >> n >> k >> s;
  vector<int> a(n);
  for (int i = 0; i < n; i++) {
    if (k <= 0) {
      if (n != 1)
        a[i] = s / n + 1;
      else {
        if (s != 1)
          a[i] = s / n + 1;
        else
          a[i] = 2;
      }
    } else {
      a[i] = s;
      k--;
    }
  }
  for (int i = 0; i < n; i++) {
    cout << a[i];
    if (i != n - 1) cout << " ";
  }
  cout << "\n";
  return 0;
}
