#include <bits/stdc++.h>
using namespace std;
const double PI = 3.14159265358979323846;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> ans(N, 1000000000);
  ans.at(0) = 1;
  int count = 0;
  cout << ans.at(0) << " ";
  for (int i = 1; i < N; i++) {
    if (count < K) {
      ans.at(i) = S - ans.at(i - 1);
      count++;
    }
    cout << ans.at(i);
    if (i < N - 1)
      cout << " ";
    else
      cout << endl;
  }
}
