#include <bits/stdc++.h>
using namespace std;
void vout(vector<int> v) {
  for (int i = 0; i < v.size(); i++) cout << v.at(i) << endl;
}
int main() {
  long long int n, k, s;
  cin >> n >> k >> s;
  vector<long long int> ans(n, 1);
  long long int r = n - k;
  ans[0] = s - r;
  long long int i = 0;
  while (i + r + 1 < n) {
    ans[i + r + 1] = s - r;
    i = i + r + 1;
  }
  for (int i = 0; i < (int)(n); i++) {
    if (i != n - 1)
      cout << ans[i] << " ";
    else
      cout << ans[i] << endl;
  }
}
