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