#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> ans;
  ll left, right;
  if (k == n) {
    while (k--) {
      ans.push_back(s);
    }
    for (ll i = 0; i < n; i++) {
      cout << ans[i] << " ";
    }
  } else {
    left = s / 2;
    right = s - left;
    k--;
    ans.push_back(left);
    ans.push_back(right);
    ll i = 0;
    while (k--) {
      if (i & 1) {
        ans.push_back(right);
      } else
        ans.push_back(left);
      i++;
    }
    ll p = ans.size();
    if (p < n) {
      while (p != n) {
        ans.push_back((ll)1e9);
        p++;
      }
    }
    for (i = 0; i < n; i++) {
      cout << ans[i] << " ";
    }
  }
}
