#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  int a[N];
  int kc = 0;
  a[0] = 1;
  for (int i = (0); i < (N - 1); i++) {
    if (K >= kc) {
      a[i + 1] = S - a[i];
      kc++;
    } else {
      a[i + 1] = 0;
    }
  }
  for (int i = (0); i < (N); i++) cout << a[i] << " ";
  cout << endl;
}
