#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9 + 7;
const long long longinf = 1LL << 60;
const int mx = 100010;
const long long mod = 1e9 + 7;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int a = s / 2;
  int b = (s + 1) / 2;
  int c = 1e9;
  for (int i = (int)(0); i < (int)(n); ++i) {
    if (i <= k) {
      cout << a << " ";
      swap(a, b);
    } else {
      cout << c << " ";
    }
  }
  cout << endl;
  return 0;
}
