#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int* a = new int[n];
  a[0] = (int)s / 2;
  for (int i = 1; i < n; ++i) {
    if (i < k + 1) {
      a[i] = s - a[i - 1];
    } else {
      a[i] = a[i - 1] + 2;
      if (a[i] + a[i - 1] == s) {
        a[i]++;
      }
      if (a[i] == s) a[i]++;
    }
  }
  for (int i = 0; i < n; ++i) {
    cout << a[i] << ' ';
  }
  return 0;
}
