#include <bits/stdc++.h>
using namespace std;
const long long LINF = 1LL << 60;
const int INF = 1001001001;
const int MOD = 1000000007;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> A(n);
  A[0] = s / 2;
  for (int i = 0; i < (n - 1); i++) {
    if (i < k)
      A[i + 1] = s - A[i];
    else
      A[i + 1] = s + 10;
  }
  for (int i = 0; i < (n); i++) {
    cout << A[i] << " ";
  }
  cout << endl;
  return 0;
}
