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