#include <bits/stdc++.h>
int main() {
  int n, k, s;
  int ans;
  std::cin >> n >> k >> s;
  int b;
  std::vector<int> v(n, 1);
  b = n - k + 1;
  int divb = s / b;
  for (int i = 0; i < divb; i++) {
    v[i * b + b - 1] = s - b + 1;
  }
  for (int i = 0; i < n; i++) {
    std::cout << v[i] << " ";
  }
  return 0;
}
