#include <bits/stdc++.h>
using namespace std;
using i64 = int_fast64_t;
int main() {
  i64 N, K, S;
  cin >> N >> K >> S;
  i64 a = S - (N - K);
  vector<int> A(N, 1e9);
  for (int(i) = 0; (i) < (K + (N - K)); (i)++) {
    if (i % (N - K + 1) == 0)
      A[i] = a;
    else
      A[i] = 1;
  }
  for (int(i) = 0; (i) < (N); (i)++) {
    cout << A[i] << " \n"[i == N - 1];
  }
}
