#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> a(n, s / 2 + 10);
  a[0] = s / 2;
  int cnt = 0;
  for (int i = 0; i < (int)(n); i++) {
    if (i == 0) continue;
    a[i] = s - a[i - 1];
    cnt++;
    if (cnt == k) break;
  }
  for (int i = 0; i < (int)(n); i++) {
    cout << a[i];
    if (i != n - 1)
      cout << " ";
    else
      cout << endl;
  }
  return 0;
}
