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