#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k - 1; i++) cout << s << " ";
  int num = s / (n - k + 1);
  int rem = s % (n - k + 1);
  cout << num + rem << " ";
  for (int i = k; i < n; i++) cout << num << " ";
}
