#include <bits/stdc++.h>
using namespace std;
const long long int MOD = pow(10, 9) + 7;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 1; i <= N; i++) {
    if (i % (N - K + 1) == 0) {
      cout << S - N + K << ' ';
    } else {
      cout << 1 << ' ';
    }
  }
  cout << endl;
}
